Class AspectException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    InvalidPointcutPatternException

    public class AspectException
    extends java.lang.RuntimeException
    This class is the basic exception that gets thrown from the aspect package.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AspectException()
      Creates a new AspectException without detail message.
      AspectException​(java.lang.String msg)
      Constructs a AspectException with the specified detail message.
      AspectException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs a AspectException with the specified error message and also the specified root cause exception.
      AspectException​(java.lang.Throwable cause)
      Constructor to create exception to wrap another exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AspectException

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

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

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

        public AspectException​(java.lang.String msg,
                               java.lang.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