public abstract class BeansException extends NestedRuntimeException
Note that this is a runtime (unchecked) exception. Beans exceptions are usually fatal; there is no reason for them to be checked.
Constructor and Description |
---|
BeansException(java.lang.String msg)
Create a new BeansException with the specified message.
|
BeansException(java.lang.String msg,
java.lang.Throwable cause)
Create a new BeansException with the specified message
and root cause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
contains, getMessage, getMostSpecificCause, getRootCause
public BeansException(java.lang.String msg)
msg
- the detail messagepublic BeansException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause