org.objectweb.joram.mom.notifications
Class ExceptionReply
java.lang.Object
fr.dyade.aaa.agent.Notification
org.objectweb.joram.mom.notifications.AbstractNotification
org.objectweb.joram.mom.notifications.AbstractReply
org.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
Fields inherited from class fr.dyade.aaa.agent.Notification |
detachable, detached, persistent |
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 |
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.
getException
public MomException getException()
- Returns the exception wrapped by the reply.
Copyright © 2005 Scalagent - All rights reserved