Top Description Constructors Methods
org.springframework.beans

public Class NotReadablePropertyException

extends InvalidPropertyException
Class Inheritance
Annotations
@SuppressWarnings:serial

Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.
Author
Juergen Hoeller
Since
1.0.2

Constructor Summary

AccessConstructor and Description
public
NotReadablePropertyException(Class<?>
the offending bean class
beanClass
,
String
the offending property
propertyName
)

Create a new NotReadablePropertyException.

public
NotReadablePropertyException(Class<?>
the offending bean class
beanClass
,
String
the offending property
propertyName
,
String
the detail message
msg
)

Create a new NotReadablePropertyException.

public
NotReadablePropertyException(Class<?>
the offending bean class
beanClass
,
String
the offending property
propertyName
,
String
the detail message
msg
,
Throwable
the root cause
cause
)

Create a new NotReadablePropertyException.

Method Summary

Inherited from org.springframework.beans.InvalidPropertyException:
getBeanClassgetPropertyName

Constructor Detail

NotReadablePropertyExceptionback to summary
public NotReadablePropertyException(Class<?> beanClass, String propertyName)

Create a new NotReadablePropertyException.

Parameters
beanClass:Class<?>

the offending bean class

propertyName:String

the offending property

NotReadablePropertyExceptionback to summary
public NotReadablePropertyException(Class<?> beanClass, String propertyName, String msg)

Create a new NotReadablePropertyException.

Parameters
beanClass:Class<?>

the offending bean class

propertyName:String

the offending property

msg:String

the detail message

NotReadablePropertyExceptionback to summary
public NotReadablePropertyException(Class<?> beanClass, String propertyName, String msg, Throwable cause)

Create a new NotReadablePropertyException.

Parameters
beanClass:Class<?>

the offending bean class

propertyName:String

the offending property

msg:String

the detail message

cause:Throwable

the root cause

Since
4.0.9