Class AspectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.core.component.aspect.AspectException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidPointcutPatternException
This class is the basic exception that gets thrown from the aspect package.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new AspectException without detail message.AspectException
(String msg) Constructs a AspectException with the specified detail message.AspectException
(String msg, Throwable cause) Constructs a AspectException with the specified error message and also the specified root cause exception.AspectException
(Throwable cause) Constructor to create exception to wrap another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AspectException
public AspectException()Creates a new AspectException without detail message. -
AspectException
Constructs a AspectException with the specified detail message.- Parameters:
msg
- a message to associate with the exception
-
AspectException
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
AspectException
Constructs a AspectException with the specified error message and also the specified root cause exception.- Parameters:
msg
- the detail messagecause
- the real cause of the exception
-