|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.distinct.rpc.RPCError
Defines the XDR interface for all classes that implement types that can be written to or read from XDRStreams.
RPCAuthError,
RPCDecodeError,
RPCServerError,
RPCTimeoutError,
Serialized Form| Constructor Summary | |
RPCError(java.lang.String s)
Creates a new RPCError exception (reason is by default JRPC.kRPC_FAILED) |
|
RPCError(java.lang.String s,
int reasonp)
Creates a new RPCError exception. |
|
| Method Summary | |
int |
getReason()
Returns the value describing the error reason (as defined in JRPC). |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RPCError(java.lang.String s)
s - The textual description of the error.
public RPCError(java.lang.String s,
int reasonp)
s - The textual description of the error.reasonp - The constant value describing the error reason (as defined in JRPC).| Method Detail |
public int getReason()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||