org.springframework.dao
Class TypeMismatchDataAccessException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.springframework.core.NestedRuntimeException
                          |
                          +--org.springframework.dao.DataAccessException
                                |
                                +--org.springframework.dao.InvalidDataAccessResourceUsageException
                                      |
                                      +--org.springframework.dao.TypeMismatchDataAccessException

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
Version: $Id: TypeMismatchDataAccessException.java,v 1.3 2004/02/11 01:06:20 jhoeller Exp $

Constructor Summary
TypeMismatchDataAccessException(String msg, Throwable ex)
          Constructor for TypeMismatchDataAccessException.

Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals

Constructor Detail

TypeMismatchDataAccessException

public TypeMismatchDataAccessException(String msg, Throwable ex)
Constructor for TypeMismatchDataAccessException.
Parameters:
msg - message
ex - root cause