(yes, another question from me)
I noticed that not all exceptions are derived from the Exception class, and so I was wandering: Would the code above execute the catch code regardless of which sepcific type of exception was thrown? I'd like to be able to give the user some information about what type of exception occured, but if the above is not possible, do I have to specify and argument for the catch block? And then am I able to handle multiple types of exceptions with multiple catch blocks?Code:try { ... } catch(Exception e) { ... }
Thanks,
Sean.