类 MetaDataAccessException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- org.springframework.core.NestedCheckedException
- org.springframework.jdbc.support.MetaDataAccessException
- 所有已实现的接口:
Serializable
public class MetaDataAccessException extends NestedCheckedException
Exception indicating that something went wrong during JDBC meta-data lookup.This is a checked exception since we want it to be caught, logged and handled rather than cause the application to fail. Failure to read JDBC meta-data is usually not a fatal problem.
- 从以下版本开始:
- 1.0.1
- 作者:
- Thomas Risberg
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 MetaDataAccessException(String msg)
Constructor for MetaDataAccessException.MetaDataAccessException(String msg, Throwable cause)
Constructor for MetaDataAccessException.
方法概要
从类继承的方法 org.springframework.core.NestedCheckedException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
MetaDataAccessException
public MetaDataAccessException(String msg)
Constructor for MetaDataAccessException.- 参数:
msg
- the detail message
MetaDataAccessException
public MetaDataAccessException(String msg, Throwable cause)
Constructor for MetaDataAccessException.- 参数:
msg
- the detail messagecause
- the root cause from the data access API in use