Class BeanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.core.component.bean.BeanException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BeanClassScanException
,BeanCreationException
,BeanInstantiationException
,BeanProxyException
,NoSuchBeanException
,NoUniqueBeanException
,UnsupportedBeanScopeException
This class is the basic exception that gets thrown from the bean package.
Created: 2008. 01. 07 AM 3:35:55
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new BeanException without detail message.BeanException
(String msg) Constructs a BeanException with the specified detail message.BeanException
(String msg, Throwable cause) Constructs a BeanException with the specified error message and also the specified root cause exception.BeanException
(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
-
BeanException
public BeanException()Creates a new BeanException without detail message. -
BeanException
Constructs a BeanException with the specified detail message.- Parameters:
msg
- the detail message
-
BeanException
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
BeanException
Constructs a BeanException with the specified error message and also the specified root cause exception.- Parameters:
msg
- the detail messagecause
- the real cause of the exception
-