posted 18 years ago
Hi,
as far as I understand, it probably would be possible to let RecordNotFoundException inherit from IOException, as long as it is well motivated... for example, FileNotFoundException also inherits from IOException.
Actually, I am planning to extend both Exceptions appearing in the interface from a common parent (not IOException), because both indicate a database problem.
This makes life easier when it comes to the remote calls, and adds an extra layer of abstraction from the concrete implementation.
Any comments are appreciated...
Regards