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.

Version:
$Id: TypeMismatchDataAccessException.java,v 1.4 2004/03/18 02:46:07 trisberg Exp $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
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,
                                       java.lang.Throwable ex)
Constructor for TypeMismatchDataAccessException.

Parameters:
msg - message
ex - root cause


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