Class AspectException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.core.component.aspect.AspectException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidPointcutPatternException

public class AspectException extends RuntimeException
This class is the basic exception that gets thrown from the aspect package.
See Also:
  • Constructor Details

    • AspectException

      public AspectException()
      Creates a new AspectException without detail message.
    • AspectException

      public AspectException(String msg)
      Constructs a AspectException with the specified detail message.
      Parameters:
      msg - a message to associate with the exception
    • AspectException

      public AspectException(Throwable cause)
      Constructor to create exception to wrap another exception.
      Parameters:
      cause - the real cause of the exception
    • AspectException

      public AspectException(String msg, Throwable cause)
      Constructs a AspectException with the specified error message and also the specified root cause exception.
      Parameters:
      msg - the detail message
      cause - the real cause of the exception