| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.reflect.UndeclaredThrowableException
This class provides a wrapper for an unexpected exception thrown by an InvocationHandler
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]), 
Serialized Form| Constructor Summary | |
| UndeclaredThrowableException(Throwable exception)Constructs a new instance of this class with its walkback and target exception filled in. | |
| UndeclaredThrowableException(Throwable exception,
                             java.lang.String detailMessage)Constructs a new instance of this class with its walkback, target exception and message filled in. | |
| Method Summary | |
|  Throwable | getCause()Answers the cause of this Throwable, or null if there is no cause. | 
|  Throwable | getUndeclaredThrowable()Answers the exception which caused the receiver to be thrown. | 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public UndeclaredThrowableException(Throwable exception)
exception - The exception which occurred while loading the class.
public UndeclaredThrowableException(Throwable exception,
                                    java.lang.String detailMessage)
detailMessage - String The detail message for the exception.exception - Throwable The exception which occurred while loading the
            class.| Method Detail | 
public Throwable getUndeclaredThrowable()
public Throwable getCause()
getCause in class Throwable| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||