org.spicefactory.lib.reflect
Class MethodInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spicefactory.lib.reflect.MethodInvocationException
- All Implemented Interfaces:
- Serializable
public class MethodInvocationException
- extends RuntimeException
Exception thrown when a MethodInvocation fails. This might either caused by the target method
throwing an Exception or by failed conversions of method parameters or by any of
the other Exceptions thrown by java.lang.reflect.Method.invoke.
- Author:
- Jens Halm
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MethodInvocationException
public MethodInvocationException(String message,
Throwable cause)
- Creates a new MethodInvocationException.
- Parameters:
message - the error messagecause - the root cause
MethodInvocationException
public MethodInvocationException(String message)
- Creates a new MethodInvocationException.
- Parameters:
message - the error message