Mantis - Resin
Viewing Issue Advanced Details
1219 minor always 06-27-06 11:18 06-29-06 18:46
anonymous  
ferg  
normal  
closed  
fixed  
none    
none 3.0.20  
0001219: Hessian Bug. Serialized Exceptions do not include extra Exception Properties
I could not find how to post a Hessian bug so I posted it here. Please move if appropriate.

When throwing an exception through Hessian from Server to Client the Exception thrown does not contain all Exception properties. Only the exception Message is being thrown.

Steps to Dup:

Create your won Exception by extending Exception. Add extra Properties to this exception. For example add a setErrorCode and getErrorCode methods to the execption with a private String errorCode member variable.

Create a Service using Hessian that will Throw this new Exception to the client caller after first specifing an error code in the exception.

Results:
When the client receives the thrown exception the ErrorCode property will be null

Notes
(0001318)
anonymous   
06-27-06 11:38   
If you have additional questions you can contact me at: drichan at yahoo.com
(0001359)
ferg   
06-29-06 18:46   
ejb/3231