J
Jonathan Wood
In code that I have enclosed in a try block, it's fairly common for me to
respond to error conditions with something like this:
throw new Exception("Something went horribly wrong!");
But I've noticed that system execptions contain information such as the line
number where the error occurred, while exceptions created using the line
above do not.
What is the secret for exceptions thrown by me to have detailed information
such as the line number?
Thanks.
Jonathan
respond to error conditions with something like this:
throw new Exception("Something went horribly wrong!");
But I've noticed that system execptions contain information such as the line
number where the error occurred, while exceptions created using the line
above do not.
What is the secret for exceptions thrown by me to have detailed information
such as the line number?
Thanks.
Jonathan