net.hasor.jdbc.exceptions
类 TypeMismatchDataAccessException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.lang.RuntimeException
              继承者 org.more.util.exception.NestableRuntimeException
                  继承者 net.hasor.jdbc.exceptions.DataAccessException
                      继承者 net.hasor.jdbc.exceptions.InvalidDataAccessException
                          继承者 net.hasor.jdbc.exceptions.TypeMismatchDataAccessException
所有已实现的接口:
Serializable, org.more.util.exception.Nestable

public class TypeMismatchDataAccessException
extends InvalidDataAccessException

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
另请参见:
序列化表格

字段摘要
 
从类 org.more.util.exception.NestableRuntimeException 继承的字段
delegate
 
构造方法摘要
TypeMismatchDataAccessException(String msg)
          Constructor for TypeMismatchDataAccessException.
TypeMismatchDataAccessException(String msg, Throwable cause)
          Constructor for TypeMismatchDataAccessException.
 
方法摘要
 
从类 net.hasor.jdbc.exceptions.InvalidDataAccessException 继承的方法
getSql
 
从类 org.more.util.exception.NestableRuntimeException 继承的方法
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

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 message
cause - the root cause from the data access API in use


Copyright © 2013-2014. All Rights Reserved.