public class CannotInvokeException
extends java.lang.RuntimeException
Constructor and Description |
---|
CannotInvokeException(java.lang.ClassNotFoundException e)
Constructs a CannotInvokeException with an ClassNotFoundException.
|
CannotInvokeException(java.lang.IllegalAccessException e)
Constructs a CannotInvokeException with an IllegalAccessException.
|
CannotInvokeException(java.lang.reflect.InvocationTargetException e)
Constructs a CannotInvokeException with an InvocationTargetException.
|
CannotInvokeException(java.lang.String reason)
Constructs a CannotInvokeException with an error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getReason()
Returns the cause of this exception.
|
public CannotInvokeException(java.lang.String reason)
public CannotInvokeException(java.lang.reflect.InvocationTargetException e)
public CannotInvokeException(java.lang.IllegalAccessException e)
public CannotInvokeException(java.lang.ClassNotFoundException e)
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.