public abstract class BeansException
extends org.springframework.core.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.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic BeansException(java.lang.String msg)
msg - the detail messagepublic BeansException(@Nullable
java.lang.String msg,
@Nullable
java.lang.Throwable cause)
msg - the detail messagecause - the root cause