This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Sorry new to exception handling, currently doing URLyBird project, and have 2 questiions.
If someone has a method in an interface like following say,
"public String read(int recNo) throws RecordNotFoundException"
If an error is declared in method like this, does that mean this method does not catch the exception but rather propogates it upwards to whoever is calling it?
For the project, if 1 creates their own errors do they have choice of either extending the exception or runtimeException class?