com.sleepycat.je
Class ExceptionEvent
java.lang.Object
com.sleepycat.je.ExceptionEvent
public class ExceptionEvent
- extends java.lang.Object
A class representing an exception event. Contains an exception and the name
of the daemon thread that it was thrown from.
Constructor Summary |
ExceptionEvent(java.lang.Exception exception)
|
ExceptionEvent(java.lang.Exception exception,
java.lang.String threadName)
|
Method Summary |
java.lang.Exception |
getException()
Returns the exception in the event. |
java.lang.String |
getThreadName()
Returns the name of the daemon thread that threw the exception. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExceptionEvent
public ExceptionEvent(java.lang.Exception exception,
java.lang.String threadName)
ExceptionEvent
public ExceptionEvent(java.lang.Exception exception)
getException
public java.lang.Exception getException()
- Returns the exception in the event.
getThreadName
public java.lang.String getThreadName()
- Returns the name of the daemon thread that threw the exception.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object