Title: Exception error message

Hi there:

When I display the getMessage() of the SQLException on the front-end screen it looks like the following:

java.rmi.RemoteException:  
--- The error occurred in Abc.xml. 
--- The error occurred while applying a parameter map. 
--- Check the Abc.Abc_Param. 
--- Check the statement (update procedure failed). 
--- Cause: com.sybase.jdbc2.jdbc.SybSQLException: The entry you are trying to save has been modified by another user, please refresh

Since Ibatis will automatically append some description in front of the message of the original SQLException.
Is there any ways to suppress those added description?
The user just need to see the "Raise Error message" from the db.

Many Thx!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dennis Chiu
e-mail: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/

Reply via email to