Passing DatabaseException to Client Side?
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
If yes, then the DatabaseException.class has to be
on the client side too, while I think we should move all
the db package to the server side.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
server side as the server returns DataInfo and fieldInfo
object during database operations
Originally posted by Da Zhu:
As we know the methods in Data class may throw DatabaseException, I am wondering if your guys pass this exception to the client side, say to the gui class.
If yes, then the DatabaseException.class has to be
on the client side too, while I think we should move all
the db package to the server side.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
You are right.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
side
Originally posted by John McWon:
I could not understand "The DB package should be accessible in both client and server side". You mean one the server side need the DB package or both server and client side need the DB package? I think both will need because you need the DB package in client side so that you can declare DataInfo and fieldInfo instances at the client side. after the declaration, you can assign values which passed from the server side, right?
| Talk sense to a fool and he calls you foolish. -Euripides A foolish tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |









