com.sssw.srv.busobj
Class AgoHttpErrorEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.sssw.srv.busobj.AgoBusinessObjectEvent
|
+--com.sssw.srv.busobj.AgoHttpErrorEvent
- All Implemented Interfaces:
- Serializable
- public class AgoHttpErrorEvent
- extends AgoBusinessObjectEvent
An instance of this object is passed into each HttpError event fired
- See Also:
- Serialized Form
AgoHttpErrorEvent
public AgoHttpErrorEvent()
getRequest
public AgiHttpServletRequest getRequest()
- Return the HTTP request message that caused the error.
getResponse
public AgiHttpServletResponse getResponse()
- Return the HTTP response message being constructed for
return to the client. The caller is allowed to modify
the message headers and body.
getErrorMessage
public String getErrorMessage()
- Return the error message string describing the error that
occurred.
- See Also:
AgoHttpErrorEvent.getDetailMessage()
getDetailMessage
public String getDetailMessage()
- Return the detail error message string describing the error that
occurred. May be null if there is no detail string.
getException
public Throwable getException()
- Return the Exception associated with this error, if there
is one. May return null.