org.jboss.aop.advice
Class InvalidAdviceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.aop.advice.InvalidAdviceException
- All Implemented Interfaces:
- Serializable
public class InvalidAdviceException
- extends RuntimeException
Exception thrown when an advice method does not comply with one or more rules
regardless of the joinpoint to be intercepted.
If your application is throwing this exception, the solution is to fix the
advice method so that it follows the required rule.
- Author:
- Flavia Rainone
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidAdviceException
public InvalidAdviceException(String message)
- Constructor.
- Parameters:
message
- a message describing why the advice method is considered
invalid. Message should specify clearly the rule that is broken,
the advice method that is invalid, and its type (if the rule
depends on the type).
Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.