类 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
- 所有已实现的接口:
Serializable
- 直接已知子类:
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.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 UncategorizedDataAccessException(String msg, Throwable cause)
Constructor for UncategorizedDataAccessException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
UncategorizedDataAccessException
public UncategorizedDataAccessException(@Nullable String msg, @Nullable Throwable cause)
Constructor for UncategorizedDataAccessException.- 参数:
msg
- the detail messagecause
- the exception thrown by underlying data access API