ExceptionEvent (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

com.sleepycat.je

## Class ExceptionEvent

- java.lang.Object
- - com.sleepycat.je.ExceptionEvent

-     public class ExceptionEvent
      extends Object

  A class representing an exception event. Contains an exception and the name of the daemon thread that it was thrown from.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExceptionEvent(Exception exception)`
    `ExceptionEvent(Exception exception, String threadName)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Exception` | `getException()` Returns the exception in the event.
    `String` | `getThreadName()` Returns the name of the daemon thread that threw the exception.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ExceptionEvent

          public ExceptionEvent(Exception exception,
                        String threadName)

    - #### ExceptionEvent

          public ExceptionEvent(Exception exception)

  - ### Method Detail

    - #### getException

          public Exception getException()

      Returns the exception in the event.

    - #### getThreadName

          public String getThreadName()

      Returns the name of the daemon thread that threw the exception.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.