Class AspectAdviceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.aspectran.core.activity.ActivityException
-
- com.aspectran.core.activity.aspect.AspectAdviceException
-
- All Implemented Interfaces:
java.io.Serializable
public class AspectAdviceException extends ActivityException
Checked exception thrown if an error occurs while executing the 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.
-
-
-
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 exceptionaspectAdviceRule
- the aspect advice rulecause
- the real cause of the exception
-
-
Method Detail
-
getAspectAdviceRule
public AspectAdviceRule getAspectAdviceRule()
Returns the aspect advice rule.- Returns:
- the aspect advice rule
-
-