I am new to this forum and I have just started on my assignment. Will exceptions from server propagated through RMI to the client ? I wanta know if I should catch the Database exception at my DataDBImpl class. I don't really want to declare the DataBase exception in my interface class because i think it will make the interface to be become less "general" Please give me some feedback, Thank you
Dilip kumar
Ranch Hand
Joined: Oct 16, 2000
Posts: 360
posted
0
I feel the application should notify all errors to users. They should be aware the application is no longer fully functional due to some error.
Karl Fu
Ranch Hand
Joined: Mar 26, 2001
Posts: 41
posted
0
So it means that exception does propagate from server to client through rmi and I should catch the exception in my swing client, am i correct ?
Doug Melzer
Ranch Hand
Joined: Mar 23, 2000
Posts: 51
posted
0
Yes, for instance if you attempt to modify a record that has been deleted you would want to notify your user, so that they'll know why the modification failed.