org.objectweb.joram.shared.client.MomExceptionReply Class Reference

Inherits org.objectweb.joram.shared.client.AbstractJmsReply.

Inheritance diagram for org.objectweb.joram.shared.client.MomExceptionReply:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.shared.client.MomExceptionReply:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int getType ()
String getMessage ()
 MomExceptionReply (int correlationId, MomException exc)
 MomExceptionReply (MomException exc)
 MomExceptionReply ()
void toString (StringBuffer strbuf)
void writeTo (OutputStream os) throws IOException
void readFrom (InputStream is) throws IOException

Static Public Attributes

static final int MomException = 1
static final int AccessException = 2
static final int DestinationException = 3
static final int MessageException = 4
static final int MessageROException = 5
static final int MessageValueException = 6
static final int RequestException = 7
static final int SelectorException = 8
static final int StateException = 9
static final int HBCloseConnection = 99999

Protected Member Functions

int getClassId ()

Detailed Description

A MomExceptionReply instance is used by a JMS client proxy to send a MomException back to a JMS client.

Definition at line 36 of file MomExceptionReply.java.


Constructor & Destructor Documentation

org.objectweb.joram.shared.client.MomExceptionReply.MomExceptionReply ( int  correlationId,
MomException  exc 
)

Constructs a MomExceptionReply instance.

Parameters:
correlationId Identifier of the failed request.
momExcept The resulting exception.

Definition at line 78 of file MomExceptionReply.java.

References org.objectweb.joram.shared.excepts.MomException.getType().

Here is the call graph for this function:

org.objectweb.joram.shared.client.MomExceptionReply.MomExceptionReply ( MomException  exc  ) 

Constructs a MomExceptionReply instance.

Parameters:
momExcept The exception to wrap.

Definition at line 89 of file MomExceptionReply.java.

References org.objectweb.joram.shared.excepts.MomException.getType().

Here is the call graph for this function:

org.objectweb.joram.shared.client.MomExceptionReply.MomExceptionReply (  ) 

Public no-arg constructor needed by Externalizable.

Definition at line 97 of file MomExceptionReply.java.


Member Function Documentation

int org.objectweb.joram.shared.client.MomExceptionReply.getType (  ) 

Returns the exception wrapped by this reply.

Definition at line 57 of file MomExceptionReply.java.

void org.objectweb.joram.shared.client.MomExceptionReply.writeTo ( OutputStream  os  )  throws IOException

The object implements the writeTo method to write its contents to the output stream.

Parameters:
os the stream to write the object to

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsReply.

Definition at line 116 of file MomExceptionReply.java.

void org.objectweb.joram.shared.client.MomExceptionReply.readFrom ( InputStream  is  )  throws IOException

The object implements the readFrom method to restore its contents from the input stream.

Parameters:
is the stream to read data from in order to restore the object

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsReply.

Definition at line 128 of file MomExceptionReply.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:21:01 2008 for joram by  doxygen 1.5.0