public class

NotAnAtAspectException

extends AopConfigException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.aop.framework.AopConfigException
             ↳ org.springframework.aop.aspectj.annotation.NotAnAtAspectException

Class Overview

Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect.

Summary

Public Constructors
NotAnAtAspectException(Class<?> nonAspectClass)
Create a new NotAnAtAspectException for the given class.
Public Methods
Class<?> getNonAspectClass()
Returns the offending class.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NotAnAtAspectException (Class<?> nonAspectClass)

Create a new NotAnAtAspectException for the given class.

Parameters
nonAspectClass the offending class

Public Methods

public Class<?> getNonAspectClass ()

Returns the offending class.