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
,UncategorizedSQLException
public abstract class UncategorizedDataAccessException extends NonTransientDataAccessException
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:
- Serialized Form
Constructor Summary
Constructors Constructor Description UncategorizedDataAccessException(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 Detail
UncategorizedDataAccessException
public UncategorizedDataAccessException(@Nullable String msg, @Nullable Throwable cause)
Constructor for UncategorizedDataAccessException.- Parameters:
msg
- the detail messagecause
- the exception thrown by underlying data access API