|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class InvalidPropertyException
Exception thrown when referring to an invalid bean property. Carries the offending bean class and property name.
Constructor Summary | |
---|---|
InvalidPropertyException(Class beanClass,
String propertyName,
String msg)
Create a new InvalidPropertyException. |
|
InvalidPropertyException(Class beanClass,
String propertyName,
String msg,
Throwable ex)
Create a new InvalidPropertyException. |
Method Summary | |
---|---|
Class |
getBeanClass()
Return the offending bean class. |
String |
getPropertyName()
Return the name of the offending property. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, 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 |
---|
public InvalidPropertyException(Class beanClass, String propertyName, String msg)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagepublic InvalidPropertyException(Class beanClass, String propertyName, String msg, Throwable ex)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messageex
- the root causeMethod Detail |
---|
public Class getBeanClass()
public String getPropertyName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |