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
  • Constructor Details

    • NoSuchAdviceException

      public NoSuchAdviceException(String name)
  • Method Details

    • getName

      public String getName()
      Returns:
      the advice name that could not be found.