java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.lang.reflect.UndeclaredThrowableException |
This class provides a wrapper for an undeclared, checked exception thrown by an InvocationHandler.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
UndeclaredThrowableException instance with the
undeclared, checked exception that occurred.
| |||||||||||
Constructs a new
UndeclaredThrowableException instance with the
undeclared, checked exception that occurred and a message.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the undeclared, checked exception that occurred, which may be
null .
| |||||||||||
Returns the undeclared, checked exception that occurred, which may be
null .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs a new UndeclaredThrowableException
instance with the
undeclared, checked exception that occurred.
exception | the undeclared, checked exception that occurred |
---|
Constructs a new UndeclaredThrowableException
instance with the
undeclared, checked exception that occurred and a message.
exception | the undeclared, checked exception that occurred |
---|---|
detailMessage | the detail message for the exception |
Returns the undeclared, checked exception that occurred, which may be
null
.
Returns the undeclared, checked exception that occurred, which may be
null
.