org.msgpack.rpc.error
Class RemoteError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.msgpack.rpc.error.RPCError
org.msgpack.rpc.error.RemoteError
- All Implemented Interfaces:
- java.io.Serializable, org.msgpack.MessagePackable
- Direct Known Subclasses:
- ArgumentError, NoMethodError
public class RemoteError
- extends RPCError
- implements org.msgpack.MessagePackable
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CODE
|
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 |
CODE
public static final java.lang.String CODE
- See Also:
- Constant Field Values
RemoteError
public RemoteError()
RemoteError
public RemoteError(java.lang.String message)
RemoteError
public RemoteError(org.msgpack.MessagePackObject data)
getData
public org.msgpack.MessagePackObject getData()
messagePack
public void messagePack(org.msgpack.Packer pk)
throws java.io.IOException
- Specified by:
messagePack
in interface org.msgpack.MessagePackable
- Throws:
java.io.IOException
getCode
public java.lang.String getCode()
- Specified by:
getCode
in class RPCError
Copyright © 2010. All Rights Reserved.