org.aspectj.lang.reflect
Class NoSuchAdviceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.aspectj.lang.reflect.NoSuchAdviceException
- All Implemented Interfaces:
- Serializable
public class NoSuchAdviceException
- extends Exception
Thrown when AjType.getDeclaredAdvice is called with an advice name and no matching
advice declaration can be found.
- See Also:
- Serialized Form
Method Summary |
String |
getName()
The advice name that could not be found. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchAdviceException
public NoSuchAdviceException(String name)
getName
public String getName()
- The advice name that could not be found.