Joram 5.3.1

org.objectweb.joram.mom.notifications
Class ExceptionReply

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by org.objectweb.joram.mom.notifications.AbstractNotification
          extended by org.objectweb.joram.mom.notifications.AbstractReply
              extended by org.objectweb.joram.mom.notifications.ExceptionReply
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ExceptionReply
extends AbstractReply

An ExceptionReply instance is used by a destination for notifying a client of an exception thrown when processing a request.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
ExceptionReply(AbstractRequest request, MomException except)
          Constructs an ExceptionReply instance.
ExceptionReply(MomException except)
          Constructs an ExceptionReply instance.
 
Method Summary
 MomException getException()
          Returns the exception wrapped by the reply.
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractReply
getCorrelationId, toString
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext, setPersistent
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionReply

public ExceptionReply(AbstractRequest request,
                      MomException except)
Constructs an ExceptionReply instance.

Parameters:
request - The request that caused the exception.
except - The exception to send back to the client.

ExceptionReply

public ExceptionReply(MomException except)
Constructs an ExceptionReply instance.

Parameters:
except - The exception to send back to the client.
Method Detail

getException

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


Joram 5.3.1

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved