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