dcsimg
JMSException error code
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kirk_Tsai
Posted On:   Thursday, October 23, 2003 02:31 PM

I noticed that the error code (i.e. getErrorCode()) field from JMSException contain NULL value. The only way I could differentiate one exception from another is by comparing the exception message (i.e. getMessage()).


1. Is there a complete list of SwiftMQ exception defined?


2. Is there plan to change the exception class implementation so it returns meaningful error code?


Thanks.

Re: JMSException error code

Posted By:   Andreas_Mueller  
Posted On:   Monday, October 27, 2003 03:28 AM

1) No.


2) We don't see a reason to provide error codes. The JMS spec lists the different exceptions to be thrown and that's what we do.
About | Sitemap | Contact