Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to avoid oracle.jbo.JboException text part in error messages

SmiersFeb 19 2008 — edited Mar 3 2008
Hello,

When I throw an error message like

throw new JboException("Error message","LEPV",null);

the error message looks like this
oracle.jbo.JboException: JBO-LEPV: Error message

Is there a way to remove/replace the first part (oracle.jbo.JboException) of the error messages
I'd like the error to be something like this
LEPV: Error message

Thanks in advance
Regards Leon
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2008
Added on Feb 19 2008
3 comments
4,394 views