Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » aspectj » annotation » [javadoc | source]
org.springframework.aop.aspectj.annotation
public class: NotAnAtAspectException [javadoc | source]
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

All Implemented Interfaces:
    Serializable

Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect.
Constructor:
 public NotAnAtAspectException(Class nonAspectClass) 
    Create a new NotAnAtAspectException for the given class.
    Parameters:
    nonAspectClass - the offending class
Method from org.springframework.aop.aspectj.annotation.NotAnAtAspectException Summary:
getNonAspectClass
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.aspectj.annotation.NotAnAtAspectException Detail:
 public Class getNonAspectClass() 
    Returns the offending class.