public class InvalidAdviceException extends RuntimeException
If your application is throwing this exception, the solution is to fix the advice method so that it follows the required rule.
Constructor and Description |
---|
InvalidAdviceException(String message)
Constructor.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidAdviceException(String message)
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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.