| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | org.springframework.core.NestedRuntimeException | ||||
| ↳ | org.springframework.beans.BeansException | ||||
Known Direct Subclasses
|
Abstract superclass for all exceptions thrown in the beans package and subpackages.
Note that this is a runtime (unchecked) exception. Beans exceptions are usually fatal; there is no reason for them to be checked.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new BeansException with the specified message.
| |||||||||||
Create a new BeansException with the specified message
and root cause.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a new BeansException with the specified message.
| msg | the detail message |
|---|
Create a new BeansException with the specified message and root cause.
| msg | the detail message |
|---|---|
| cause | the root cause |