Hi,
Sorry new to exception handling, currently doing URLyBird project, and have 2 questiions.
(1)
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?
(2)
For the project, if 1 creates their own errors do they have choice of either extending the exception or runtimeException class?
Thanks.