Using Exceptions defined in a separate .java file
807599Apr 3 2007 — edited Apr 3 2007Hello,
I'm new to using exceptions.
I am trying to write a program which throws exceptions defined in a separate .java file. When I try to throw the custom-defined exception, I keep getting the error msg "Package exceptioname does not exist".
I think I'm supposed to write a few lines of code to "link" my main files and the exception files together.
Can somebody please advise how I should go abt doing that?