Serializable
public class CannotInvokeException extends RuntimeException
Constructor | 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 | Description |
---|---|---|
Throwable |
getReason() |
Returns the cause of this exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CannotInvokeException(String reason)
public CannotInvokeException(InvocationTargetException e)
public CannotInvokeException(IllegalAccessException e)
public CannotInvokeException(ClassNotFoundException e)
public Throwable getReason()
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.