SilverStream
Application Server 3.5

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

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AgoHttpErrorEvent()
           
 
Method Summary
 String getDetailMessage()
          Return the detail error message string describing the error that occurred.
 String getErrorMessage()
          Return the error message string describing the error that occurred.
 Throwable getException()
          Return the Exception associated with this error, if there is one.
 AgiHttpServletRequest getRequest()
          Return the HTTP request message that caused the error.
 AgiHttpServletResponse getResponse()
          Return the HTTP response message being constructed for return to the client.
 
Methods inherited from class com.sssw.srv.busobj.AgoBusinessObjectEvent
getAgaData, getDatabase, getDatabaseURL, getServer, getSession, getUser, runAgData, updateTransactionally, userInGroup
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgoHttpErrorEvent

public AgoHttpErrorEvent()
Method Detail

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.

SilverStream
Application Server 3.5