org.springframework.beans
Class TypeMismatchException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.springframework.core.NestedRuntimeException
                          |
                          +--org.springframework.beans.BeansException
                                |
                                +--org.springframework.beans.PropertyAccessException
                                      |
                                      +--org.springframework.beans.TypeMismatchException

public class TypeMismatchException
extends PropertyAccessException

Exception thrown on a type mismatch when trying to set a property.

Author:
Rod Johnson, Juergen Hoeller
Version: $Revision: 1.4 $

Constructor Summary
TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class requiredType)
           
TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class requiredType, Throwable ex)
           

Method Summary
 StringgetErrorCode()
           

Methods inherited from class org.springframework.beans.PropertyAccessException
getPropertyChangeEvent

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

TypeMismatchException

public TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class requiredType)

TypeMismatchException

public TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class requiredType, Throwable ex)
Method Detail

getErrorCode

public String getErrorCode()