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
AgoServerErrorEvent
public AgoServerErrorEvent()
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