Joram ${version}

org.objectweb.joram.mom.notifications
Class ExceptionReply

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

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, getPersistent, setPersistent
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getMessageId, isPersistent, setContext
 
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 ${version}

Copyright © 2005 Scalagent - All rights reserved