|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsMessage
org.objectweb.joram.shared.client.AbstractJmsReply
org.objectweb.joram.shared.client.MomExceptionReply
public final class MomExceptionReply
A MomExceptionReply
instance is used by a JMS client proxy
to send a MomException
back to a JMS client.
Field Summary | |
---|---|
static int |
AccessException
|
static int |
DestinationException
|
static int |
HBCloseConnection
|
private java.lang.String |
message
The wrapped exception message. |
static int |
MessageException
|
static int |
MessageROException
|
static int |
MessageValueException
|
static int |
MomException
|
static int |
RequestException
|
static int |
SelectorException
|
private static long |
serialVersionUID
define serialVersionUID for interoperability |
static int |
StateException
|
private int |
type
The wrapped exception type. |
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsReply |
---|
correlationId |
Constructor Summary | |
---|---|
MomExceptionReply()
Public no-arg constructor needed by Externalizable. |
|
MomExceptionReply(int correlationId,
MomException exc)
Constructs a MomExceptionReply instance. |
|
MomExceptionReply(MomException exc)
Constructs a MomExceptionReply instance. |
Method Summary | |
---|---|
protected int |
getClassId()
|
java.lang.String |
getMessage()
|
int |
getType()
Returns the exception wrapped by this reply. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
toString(java.lang.StringBuffer strbuf)
|
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsReply |
---|
getCorrelationId, setCorrelationId, toString |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final int MomException
public static final int AccessException
public static final int DestinationException
public static final int MessageException
public static final int MessageROException
public static final int MessageValueException
public static final int RequestException
public static final int SelectorException
public static final int StateException
public static final int HBCloseConnection
private int type
private java.lang.String message
Constructor Detail |
---|
public MomExceptionReply(int correlationId, MomException exc)
MomExceptionReply
instance.
correlationId
- Identifier of the failed request.exc
- The resulting exception.public MomExceptionReply(MomException exc)
MomExceptionReply
instance.
exc
- The exception to wrap.public MomExceptionReply()
Method Detail |
---|
public int getType()
public java.lang.String getMessage()
protected int getClassId()
getClassId
in class AbstractJmsMessage
public void toString(java.lang.StringBuffer strbuf)
toString
in class AbstractJmsReply
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsReply
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractJmsReply
is
- the stream to read data from in order to restore the object
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |