org.springframework.dao
Class TypeMismatchDataAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.InvalidDataAccessResourceUsageException
                          extended byorg.springframework.dao.TypeMismatchDataAccessException
All Implemented Interfaces:
java.io.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.

Author:
Rod Johnson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
TypeMismatchDataAccessException(java.lang.String msg)
          Constructor for TypeMismatchDataAccessException.
TypeMismatchDataAccessException(java.lang.String msg, java.lang.Throwable ex)
          Constructor for TypeMismatchDataAccessException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeMismatchDataAccessException

public TypeMismatchDataAccessException(java.lang.String msg)
Constructor for TypeMismatchDataAccessException.

Parameters:
msg - message

TypeMismatchDataAccessException

public TypeMismatchDataAccessException(java.lang.String msg,
                                       java.lang.Throwable ex)
Constructor for TypeMismatchDataAccessException.

Parameters:
msg - message
ex - root cause


Copyright (C) 2003-2004 The Spring Framework Project.