Framework Professional Edition Package


com.prosyst.util.beans
Class NoSuchPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.prosyst.util.beans.BeanException
              extended by com.prosyst.util.beans.NoSuchPropertyException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchPropertyException
extends BeanException

NoSuchPropertyException is thrown by the beans package whenever not-existent property is tried to be set or read. It is added mostly for convenience to determine whether the exception was caused by missing property or the property is not readable or writable.

Author:
Valentin Valchev
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.prosyst.util.beans.BeanException
beanClass, property
 
Constructor Summary
NoSuchPropertyException(java.lang.Class beanClass, java.lang.String property)
          Creates a new exception and associates the bean class and the property name that is missing.
 
Method Summary
 
Methods inherited from class com.prosyst.util.beans.BeanException
getBeanClass, getMessage, getProperty
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchPropertyException

public NoSuchPropertyException(java.lang.Class beanClass,
                               java.lang.String property)
Creates a new exception and associates the bean class and the property name that is missing.

Parameters:
beanClass -
property -

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved