public class CannotInvokeException extends RuntimeException
| Constructor and Description | 
|---|
| CannotInvokeException(ClassNotFoundException e)Constructs a CannotInvokeException with an ClassNotFoundException. | 
| CannotInvokeException(IllegalAccessException e)Constructs a CannotInvokeException with an IllegalAccessException. | 
| CannotInvokeException(InvocationTargetException e)Constructs a CannotInvokeException with an InvocationTargetException. | 
| CannotInvokeException(String reason)Constructs a CannotInvokeException with an error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| Throwable | getReason()Returns the cause of this exception. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CannotInvokeException(String reason)
public CannotInvokeException(InvocationTargetException e)
public CannotInvokeException(IllegalAccessException e)
public CannotInvokeException(ClassNotFoundException e)
public Throwable getReason()
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.