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.AbstractReplyNot
org.objectweb.joram.mom.notifications.ExceptionReply
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class ExceptionReply
- extends AbstractReplyNot
An ExceptionReply
instance is used by a destination for
notifying a client of an exception thrown when processing a request.
- See Also:
- Serialized Form
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
except
private MomException except
- The
MomException
which occured when processing the request.
ExceptionReply
public ExceptionReply(AbstractRequestNot 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 © 2010 ScalAgent D.T.. All Rights Reserved.