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:
- java.io.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
Fields inherited from class java.lang.RuntimeException |
|
Constructor Summary |
NotWritablePropertyException(java.lang.Class beanClass,
java.lang.String propertyName)
Create a new NotWritablePropertyException. |
NotWritablePropertyException(java.lang.Class beanClass,
java.lang.String propertyName,
java.lang.String msg,
java.lang.Throwable ex)
Create a new NotWritablePropertyException. |
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 |
NotWritablePropertyException
public NotWritablePropertyException(java.lang.Class beanClass,
java.lang.String propertyName)
- Create a new NotWritablePropertyException.
- Parameters:
beanClass
- the offending bean classpropertyName
- the offending property
NotWritablePropertyException
public NotWritablePropertyException(java.lang.Class beanClass,
java.lang.String propertyName,
java.lang.String msg,
java.lang.Throwable ex)
- Create a new NotWritablePropertyException.
- Parameters:
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messageex
- the root cause
Copyright (C) 2003-2004 The Spring Framework Project.