Exception message
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, May 9, 2002 06:49 PM

Every time i throw an exception from my session bean, it always show me the error message followed by Start server side stack trace, how can avoid this and just show the error message only when i get the exception's error message?

Re: Exception message

Posted By:   Neo_Gigs  
Posted On:   Sunday, May 12, 2002 08:01 PM

Try this:

try {
} catch (Exception e) {
System.out.println("Error: " + e.getMessage());
About | Sitemap | Contact