Class NotAnAtAspectException

All Implemented Interfaces:
Serializable

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.
Since:
2.0
Author:
Rod Johnson
See Also:
  • Constructor Details

    • NotAnAtAspectException

      public NotAnAtAspectException(Class<?> nonAspectClass)
      Create a new NotAnAtAspectException for the given class.
      Parameters:
      nonAspectClass - the offending class
  • Method Details

    • getNonAspectClass

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