SilverStream
Application Server 3.5

com.sssw.srv.busobj
Class AgoServerErrorEvent

java.lang.Object
 |
 +--java.util.EventObject
       |
       +--com.sssw.srv.busobj.AgoBusinessObjectEvent
             |
             +--com.sssw.srv.busobj.AgoServerErrorEvent
All Implemented Interfaces:
Serializable

public class AgoServerErrorEvent
extends AgoBusinessObjectEvent

An instance of this object is passed into each ServerError event fired.

It can also be used to access other information about the current session, the SilverStream Server, or an AgaData object.

See Also:
AgiServerListener, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AgoServerErrorEvent()
           
 
Method Summary
 Exception getException()
          Return the exception that generated the server error.
 
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

AgoServerErrorEvent

public AgoServerErrorEvent()
Method Detail

getException

public Exception getException()
Return the exception that generated the server error.
Usage:
This method returns the following exceptions:

AgoCacheMgrCommException - fires if a server n a clustered environment is unable to contact the cache manager.

AgoDatabaseConnectException - fires if a server cannot connect to a database because the database connection pool is empty.

Example:
         Exception e = evt.getException();
 
See Also:
AgoCacheMgrCommException, AgoDatabaseConnectException

SilverStream
Application Server 3.5