Class AspectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.component.aspect.AspectException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidPointcutPatternException
public class AspectException extends java.lang.RuntimeExceptionThis class is the basic exception that gets thrown from the aspect package.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AspectException()Creates a new AspectException without detail message.AspectException(java.lang.String msg)Constructs a AspectException with the specified detail message.AspectException(java.lang.String msg, java.lang.Throwable cause)Constructs a AspectException with the specified error message and also the specified root cause exception.AspectException(java.lang.Throwable cause)Constructor to create exception to wrap another exception.
-
-
-
Constructor Detail
-
AspectException
public AspectException()
Creates a new AspectException without detail message.
-
AspectException
public AspectException(java.lang.String msg)
Constructs a AspectException with the specified detail message.- Parameters:
msg- a message to associate with the exception
-
AspectException
public AspectException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.- Parameters:
cause- the real cause of the exception
-
AspectException
public AspectException(java.lang.String msg, java.lang.Throwable cause)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
-
-