org.objectweb.joram.shared.client

Class MomExceptionReply

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.
Hashtable
soapCode()
Transforms this reply into a hashtable of primitive values that can be vehiculated through the SOAP protocol.
static Object
soapDecode(Hashtable h)
Transforms a hashtable of primitive values into a MomExceptionReply reply.
String
toString()

Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsReply

getCorrelationId, getKey, setCorrelationId, soapCode, soapDecode, toString

Constructor Details

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 Details

getException

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


soapCode

public Hashtable soapCode()
Transforms this reply into a hashtable of primitive values that can be vehiculated through the SOAP protocol.
Overrides:
soapCode in interface AbstractJmsReply


soapDecode

public static Object soapDecode(Hashtable h)
Transforms a hashtable of primitive values into a MomExceptionReply reply.
Overrides:
soapDecode in interface AbstractJmsReply


toString

public String toString()
Overrides:
toString in interface AbstractJmsReply


Copyright B) 2004 Scalagent - All rights reserved