|
The Spring Framework | |||||||||
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 cause)
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, getMostSpecificCause, getRootCause, 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 cause)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagecause
- the root causeMethod Detail |
---|
public Class getBeanClass()
public String getPropertyName()
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |