I\'ve got a rake task on a rails app that needs one pa开发者_Python百科rameter, called USER_ID. I think I\'d like to throw an exception that halts the execution. This is what my task looks like:
I found that there are three ways to catch an exception, what are the differences? 1) catch by value; 2) catch by reference;
This is pretty much IE related because IE is the environment I\'m using to test this, but I want to know if you can affect the relevancy of the error object properties when you throw an error.Consider