Package io.avaje.inject.aop
Class InvocationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.avaje.inject.aop.InvocationException
-
- All Implemented Interfaces:
Serializable
public class InvocationException extends RuntimeException
Exception occurring during method interception.When using aspects and
MethodInterceptorany throwable that is undeclared on the method is caught and re-throw as an InvocationException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvocationException(String message, Throwable cause)Create with a given message and cause.InvocationException(Throwable cause)Create with a given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvocationException
public InvocationException(Throwable cause)
Create with a given cause.
-
InvocationException
public InvocationException(String message, Throwable cause)
Create with a given message and cause.
-
-