jfun.yan
Class NonWritablePropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jfun.yan.YanException
                  extended by jfun.yan.InvalidPropertyException
                      extended by jfun.yan.NonWritablePropertyException
All Implemented Interfaces:
java.io.Serializable

public class NonWritablePropertyException
extends InvalidPropertyException

Represents an exception when a bean component tries to set a property that is not writable.

Codehaus.org.

Author:
Ben Yu
See Also:
Serialized Form

Constructor Summary
NonWritablePropertyException(java.lang.Class type, java.lang.String name)
          Create a NonWritablePropertyException object.
NonWritablePropertyException(java.lang.Class type, java.lang.String name, java.lang.String msg)
          Create a NonWritablePropertyException object.
 
Method Summary
 
Methods inherited from class jfun.yan.InvalidPropertyException
getComponentType, getPropertyName
 
Methods inherited from class jfun.yan.YanException
clearResolutionTrace, getResolutionTrace, printResolutionTrace, printResolutionTrace, printResolutionTrace, printStackTrace, printStackTrace, push
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonWritablePropertyException

public NonWritablePropertyException(java.lang.Class type,
                                    java.lang.String name)
Create a NonWritablePropertyException object.

Parameters:
type - the property type.
name - the property name.

NonWritablePropertyException

public NonWritablePropertyException(java.lang.Class type,
                                    java.lang.String name,
                                    java.lang.String msg)
Create a NonWritablePropertyException object.

Parameters:
type - the property type.
name - the property name.
msg - the error message.