org.objectweb.joram.kclient
Class MomExceptionReply
java.lang.Object
org.objectweb.joram.kclient.AbstractMessage
org.objectweb.joram.kclient.AbstractReply
org.objectweb.joram.kclient.MomExceptionReply
- All Implemented Interfaces:
- Streamable
public final class MomExceptionReply
- extends AbstractReply
A MomExceptionReply
instance is used by the proxy
to send a MomException
back to the client.
Fields inherited from class org.objectweb.joram.kclient.AbstractMessage |
ACTIVATE_CONSUMER_REQUEST, classid, classnames, CNX_CLOSE_REPLY, CNX_CLOSE_REQUEST, CNX_CONNECT_REPLY, CNX_CONNECT_REQUEST, CNX_START_REQUEST, CNX_STOP_REQUEST, CONSUMER_ACK_REQUEST, CONSUMER_CLOSE_SUB_REQUEST, CONSUMER_DENY_REQUEST, CONSUMER_MESSAGES, CONSUMER_RECEIVE_REQUEST, CONSUMER_SUB_REQUEST, CONSUMER_UNSUB_REQUEST, MOM_EXCEPTION_REPLY, NULL_CLASS_ID, PRODUCER_MESSAGES, SERVER_REPLY, SESS_ACK_REQUEST, SESS_DENY_REQUEST |
Constructor Summary |
MomExceptionReply()
Public no-arg constructor needed by Externalizable. |
Method Summary |
protected int |
getClassId()
|
java.lang.String |
getMessage()
|
int |
getType()
Returns the exception wrapped by this reply. |
void |
readFrom(InputXStream is)
The object implements the readFrom method to restore its contents from
the input stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MomException
public static final int MomException
- See Also:
- Constant Field Values
AccessException
public static final int AccessException
- See Also:
- Constant Field Values
DestinationException
public static final int DestinationException
- See Also:
- Constant Field Values
MessageException
public static final int MessageException
- See Also:
- Constant Field Values
MessageROException
public static final int MessageROException
- See Also:
- Constant Field Values
MessageValueException
public static final int MessageValueException
- See Also:
- Constant Field Values
RequestException
public static final int RequestException
- See Also:
- Constant Field Values
SelectorException
public static final int SelectorException
- See Also:
- Constant Field Values
StateException
public static final int StateException
- See Also:
- Constant Field Values
MomExceptionReply
public MomExceptionReply()
- Public no-arg constructor needed by Externalizable.
getClassId
protected int getClassId()
- Specified by:
getClassId
in class AbstractMessage
getType
public int getType()
- Returns the exception wrapped by this reply.
getMessage
public java.lang.String getMessage()
readFrom
public void readFrom(InputXStream is)
throws java.io.IOException
- The object implements the readFrom method to restore its contents from
the input stream.
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class AbstractReply
- Parameters:
is
- the stream to read data from in order to restore the object
- Throws:
java.io.IOException
Copyright © 2005 Scalagent - All rights reserved