org.springframework.beans
Class NotWritablePropertyException
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
org.springframework.beans.NotWritablePropertyException
- All Implemented Interfaces:
- Serializable
public class NotWritablePropertyException
- extends InvalidPropertyException
Exception thrown on an attempt to set the value of a property
that isn't writable, because there's no setter method.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
NotWritablePropertyException
public NotWritablePropertyException(Class beanClass,
String propertyName)
- Create a new NotWritablePropertyException.
- Parameters:
beanClass
- the offending bean classpropertyName
- the offending property
NotWritablePropertyException
public NotWritablePropertyException(Class beanClass,
String propertyName,
String msg,
Throwable ex)
- Create a new NotWritablePropertyException.
- Parameters:
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messageex
- the root cause
Copyright (c) 2002-2007 The Spring Framework Project.