org.objectweb.joram.shared.client
Class MomExceptionReply

java.lang.Object
  extended byorg.objectweb.joram.shared.client.AbstractJmsReply
      extended byorg.objectweb.joram.shared.client.MomExceptionReply
All Implemented Interfaces:
java.io.Serializable

public class MomExceptionReply
extends AbstractJmsReply

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsReply
correlationId
 
Constructor Summary
MomExceptionReply(int correlationId, MomException momExcept)
          Constructs a MomExceptionReply instance.
MomExceptionReply(MomException momExcept)
          Constructs a MomExceptionReply instance.
 
Method Summary
 MomException getException()
          Returns the exception wrapped by this reply.
 java.util.Hashtable soapCode()
          Transforms this reply into a hashtable of primitive values that can be vehiculated through the SOAP protocol.
static java.lang.Object soapDecode(java.util.Hashtable h)
          Transforms a hashtable of primitive values into a MomExceptionReply reply.
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsReply
getCorrelationId, getKey, setCorrelationId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MomExceptionReply

public MomExceptionReply(int correlationId,
                         MomException momExcept)
Constructs a MomExceptionReply instance.

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

MomExceptionReply

public MomExceptionReply(MomException momExcept)
Constructs a MomExceptionReply instance.

Parameters:
momExcept - The exception to wrap.
Method Detail

getException

public MomException getException()
Returns the exception wrapped by this reply.


soapCode

public java.util.Hashtable soapCode()
Transforms this reply into a hashtable of primitive values that can be vehiculated through the SOAP protocol.

Overrides:
soapCode in class AbstractJmsReply

soapDecode

public static java.lang.Object soapDecode(java.util.Hashtable h)
Transforms a hashtable of primitive values into a MomExceptionReply reply.


toString

public java.lang.String toString()
Overrides:
toString in class AbstractJmsReply


Copyright ? 2004 Scalagent - All rights reserved