Class InvocationException

All Implemented Interfaces:
Serializable

public class InvocationException extends RuntimeException
Represents an exception occurring during method interception.

When using aspects and MethodInterceptor any throwable that is undeclared on the method is caught and re-thrown as an InvocationException.

See Also:
  • Constructor Details

    • InvocationException

      public InvocationException(String message)
      Create with a given cause.
    • InvocationException

      public InvocationException(Throwable cause)
      Create with a given cause.
    • InvocationException

      public InvocationException(String message, Throwable cause)
      Create with a given message and cause.