Class ExceptionReply
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.CallbackNotification
-
- org.objectweb.joram.mom.notifications.AbstractNotification
-
- org.objectweb.joram.mom.notifications.AbstractReplyNot
-
- org.objectweb.joram.mom.notifications.ExceptionReply
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class ExceptionReply extends AbstractReplyNot
AnExceptionReplyinstance is used by a destination for notifying a client of an exception thrown when processing a request.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MomExceptionexceptTheMomExceptionwhich occured when processing the request.private static longserialVersionUID-
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Constructor Summary
Constructors Constructor Description ExceptionReply(AbstractRequestNot request, MomException except)Constructs anExceptionReplyinstance.ExceptionReply(MomException except)Constructs anExceptionReplyinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MomExceptiongetException()Returns the exception wrapped by the reply.-
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractReplyNot
getCorrelationId, toString
-
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
decode, encode, getClientContext, getEncodedSize, setPersistent
-
Methods inherited from class fr.dyade.aaa.agent.CallbackNotification
done, failed, hasCallback, passCallback, setCountDownCallback
-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
except
private MomException except
TheMomExceptionwhich occured when processing the request.
-
-
Constructor Detail
-
ExceptionReply
public ExceptionReply(AbstractRequestNot request, MomException except)
Constructs anExceptionReplyinstance.- Parameters:
request- The request that caused the exception.except- The exception to send back to the client.
-
ExceptionReply
public ExceptionReply(MomException except)
Constructs anExceptionReplyinstance.- Parameters:
except- The exception to send back to the client.
-
-
Method Detail
-
getException
public MomException getException()
Returns the exception wrapped by the reply.
-
-