java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.springframework.core.NestedCheckedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MetaDataAccessException
Exceptions with a root cause.
This class is abstract to force the programmer to extend
the class. getMessage will include nested exception
information; printStackTrace and other like methods will
delegate to the wrapped exception, if any.
The similarity between this class and the NestedRuntimeException class is unavoidable, as Java forces these two classes to have different superclasses (ah, the inflexibility of concrete inheritance!).
Rod - JohnsonJuergen - Hoeller| Constructor: |
|---|
NestedCheckedException with the specified detail message.
|
NestedCheckedException with the specified detail message
and nested exception.
|
| Method from org.springframework.core.NestedCheckedException Summary: |
|---|
| contains, getMessage, getMostSpecificCause, getRootCause |
| Methods from java.lang.Throwable: |
|---|
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.core.NestedCheckedException Detail: |
|---|
|
|
Differs from #getRootCause() in that it falls back to the present exception if there is no root cause. |
|