|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWSRuntimeException
glogic.jthin.base.WSCodeRuntimeException
Speical subclass to allow a type value to be passed in and returned by hessian rpc calls. This is a workaround due to a combination of hessian limitations and java security restriction. If the subclass exception wishes to use getType then it should delimit the constructor with "&&" and override the getDescription and getType to make them public. If the subclass does not wish to use getType and getDescription() then it should just use getMessage()
| Constructor Summary | |
WSCodeRuntimeException(java.lang.String msgBlob)
Hessian does not fully serialize exceptions. |
|
| Method Summary | |
int |
getCode()
Get code out of string blob. |
java.lang.String |
getDescription()
Get string message out of string blob |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSCodeRuntimeException(java.lang.String msgBlob)
msgBlob - contains a code and message string
delimited by "&&"| Method Detail |
public int getCode()
public java.lang.String getDescription()
|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||