类 TypeMismatchDataAccessException
- 所有已实现的接口:
Serializable
public class TypeMismatchDataAccessException extends InvalidDataAccessResourceUsageException
Exception thrown on mismatch between Java type and database type: for example on an attempt to set an object of the wrong type in an RDBMS column.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 TypeMismatchDataAccessException(String msg)
Constructor for TypeMismatchDataAccessException.TypeMismatchDataAccessException(String msg, Throwable cause)
Constructor for TypeMismatchDataAccessException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
TypeMismatchDataAccessException
public TypeMismatchDataAccessException(String msg)
Constructor for TypeMismatchDataAccessException.- 参数:
msg
- the detail message
TypeMismatchDataAccessException
public TypeMismatchDataAccessException(String msg, Throwable cause)
Constructor for TypeMismatchDataAccessException.- 参数:
msg
- the detail messagecause
- the root cause from the data access API in use