org.objectweb.joram.mom.notifications

Class ExceptionReply

Implemented Interfaces:
Cloneable, 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.

Field Summary

Fields inherited from class fr.dyade.aaa.agent.Notification

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, toString

Methods inherited from class fr.dyade.aaa.agent.Notification

clone, getContext, setContext, toString

Constructor Details

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 Details

getException

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


Copyright B) 2004 Scalagent - All rights reserved