org.aopalliance.aop
Class AspectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.aopalliance.aop.AspectException
All Implemented Interfaces:
Serializable

public class AspectException
extends RuntimeException

Superclass for all AOP infrastructure exceptions. Unchecked, as such exceptions are fatal and end user code shouldn't be forced to catch them.

Author:
Rod Johnson, Bob Lee, Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
AspectException(String message)
          Constructor for AspectException.
AspectException(String message, Throwable cause)
          Constructor for AspectException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

AspectException

public AspectException(String message)
Constructor for AspectException.

Parameters:
message - the exception message

AspectException

public AspectException(String message,
                       Throwable cause)
Constructor for AspectException.

Parameters:
message - the exception message
cause - the root cause, if any


Copyright © 2018. All rights reserved.