aspose file tools*
The moose likes JDBC and the fly likes Exception handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Exception handler" Watch "Exception handler" New topic
Author

Exception handler

Velika Srbija
Ranch Hand

Joined: Jan 15, 2002
Posts: 172
DBExceptionHandler.handleException(ex);
I wan't to make this method return my message, not the default one from DBMS.
How???
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879


Is this what you want, or is there more to it than my suggestion?
Jamie
[ January 17, 2002: Message edited by: Jamie Robertson ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exception handler