|Anonymous | Login | Signup for a new account||06-04-2020 07:23 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001219||[Resin]||minor||always||06-27-06 11:18||06-29-06 18:46|
|Summary||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.
When the client receives the thrown exception the ErrorCode property will be null
|If you have additional questions you can contact me at: drichan at yahoo.com|
|06-27-06 11:18||anonymous||New Issue|
|06-27-06 11:38||anonymous||Note Added: 0001318|
|06-29-06 18:46||ferg||Note Added: 0001359|
|06-29-06 18:46||ferg||Assigned To||=> ferg|
|06-29-06 18:46||ferg||Status||new => closed|
|06-29-06 18:46||ferg||Resolution||open => fixed|
|06-29-06 18:46||ferg||Fixed in Version||=> 3.0.20|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.|
26 unique queries executed.