org.aspectj.lang
Class NoAspectBoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.aspectj.lang.NoAspectBoundException
All Implemented Interfaces:
Serializable

public class NoAspectBoundException
extends RuntimeException

Thrown by the aspectOf(..) special method on aspect types when there is no aspect of that type currently bound.

See Also:
Serialized Form

Field Summary
(package private)  Throwable cause
           
 
Constructor Summary
NoAspectBoundException()
           
NoAspectBoundException(String aspectName, Throwable inner)
           
 
Method Summary
 Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

Throwable cause
Constructor Detail

NoAspectBoundException

public NoAspectBoundException(String aspectName,
                              Throwable inner)

NoAspectBoundException

public NoAspectBoundException()
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable