Class AspectAdviceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AspectAdviceException
    extends ActivityException
    Thrown when an error occurs while running advice.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AspectAdviceException​(java.lang.String msg, AspectAdviceRule aspectAdviceRule, java.lang.Throwable cause)
      Constructor to create exception to wrap another exception and pass a message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AspectAdviceRule getAspectAdviceRule()
      Returns the aspect advice rule.
      • 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

      • AspectAdviceException

        public AspectAdviceException​(java.lang.String msg,
                                     AspectAdviceRule aspectAdviceRule,
                                     java.lang.Throwable cause)
        Constructor to create exception to wrap another exception and pass a message.
        Parameters:
        msg - a message to associate with the exception
        aspectAdviceRule - the aspect advice rule
        cause - the real cause of the exception
    • Method Detail

      • getAspectAdviceRule

        public AspectAdviceRule getAspectAdviceRule()
        Returns the aspect advice rule.
        Returns:
        the aspect advice rule