public class

InvalidPropertyException

extends FatalBeanException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.beans.BeansException
             ↳ org.springframework.beans.FatalBeanException
               ↳ org.springframework.beans.InvalidPropertyException
Known Direct Subclasses

Class Overview

Exception thrown when referring to an invalid bean property. Carries the offending bean class and property name.

Summary

Public Constructors
InvalidPropertyException(Class beanClass, String propertyName, String msg)
Create a new InvalidPropertyException.
InvalidPropertyException(Class beanClass, String propertyName, String msg, Throwable cause)
Create a new InvalidPropertyException.
Public Methods
Class getBeanClass()
Return the offending bean class.
String getPropertyName()
Return the name of the offending property.
[Expand]
Inherited Methods
From class org.springframework.beans.BeansException
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidPropertyException (Class beanClass, String propertyName, String msg)

Also: SpringBeans

Create a new InvalidPropertyException.

Parameters
beanClass the offending bean class
propertyName the offending property
msg the detail message

public InvalidPropertyException (Class beanClass, String propertyName, String msg, Throwable cause)

Also: SpringBeans

Create a new InvalidPropertyException.

Parameters
beanClass the offending bean class
propertyName the offending property
msg the detail message
cause the root cause

Public Methods

public Class getBeanClass ()

Also: SpringBeans

Return the offending bean class.

public String getPropertyName ()

Also: SpringBeans

Return the name of the offending property.