Package org.springframework.dao
Class UncategorizedDataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.UncategorizedDataAccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HibernateJdbcException
,HibernateSystemException
,JpaSystemException
,SQLWarningException
,UncategorizedR2dbcException
,UncategorizedSQLException
Normal superclass when we can't distinguish anything more specific
than "something went wrong with the underlying resource": for example,
an SQLException from JDBC we can't pinpoint more precisely.
- Author:
- Rod Johnson
- See Also:
-
Constructor Summary
ConstructorDescriptionUncategorizedDataAccessException
(String msg, Throwable cause) Constructor for UncategorizedDataAccessException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncategorizedDataAccessException
Constructor for UncategorizedDataAccessException.- Parameters:
msg
- the detail messagecause
- the exception thrown by underlying data access API
-