public class ExceptionEvent
extends java.lang.Object
| Constructor | Description |
|---|---|
ExceptionEvent(java.lang.Exception exception) |
|
ExceptionEvent(java.lang.Exception exception,
java.lang.String threadName) |
| Modifier and Type | Method | Description |
|---|---|---|
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() |
public ExceptionEvent(java.lang.Exception exception,
java.lang.String threadName)
public ExceptionEvent(java.lang.Exception exception)
public java.lang.Exception getException()
public java.lang.String getThreadName()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.