Class NotAnAtAspectException

  • All Implemented Interfaces:

    public class NotAnAtAspectException
    extends AopConfigException
    Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect.
    Rod Johnson
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor and Description
      NotAnAtAspectException(java.lang.Class<?> nonAspectClass)
      Create a new NotAnAtAspectException for the given class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Class<?> getNonAspectClass()
      Returns the offending class.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NotAnAtAspectException

        public NotAnAtAspectException(java.lang.Class<?> nonAspectClass)
        Create a new NotAnAtAspectException for the given class.
        nonAspectClass - the offending class
    • Method Detail

      • getNonAspectClass

        public java.lang.Class<?> getNonAspectClass()
        Returns the offending class.