com.primix.tapestry.util.prop
Class MissingPropertyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.primix.tapestry.util.prop.MissingPropertyException
All Implemented Interfaces:
java.io.Serializable

public class MissingPropertyException
extends java.lang.RuntimeException

Exception thrown by PropertyHelper when an propery is specified which does not exist.

Version:
$Id: MissingPropertyException.java,v 1.6 2001/10/08 18:28:40 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
MissingPropertyException(java.lang.Object instance, java.lang.String propertyName)
           
MissingPropertyException(java.lang.Object rootObject, java.lang.String propertyPath, java.lang.Object instance, java.lang.String propertyName)
           
 
Method Summary
 java.lang.Object getInstance()
          The object in which property access failed.
 java.lang.String getPropertyName()
          The name of the property the instance fails to provide.
 java.lang.String getPropertyPath()
          The property path (containing the invalid property name).
 java.lang.Object getRootObject()
          The root object, the object which is the root of the property path.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingPropertyException

public MissingPropertyException(java.lang.Object instance,
                                java.lang.String propertyName)

MissingPropertyException

public MissingPropertyException(java.lang.Object rootObject,
                                java.lang.String propertyPath,
                                java.lang.Object instance,
                                java.lang.String propertyName)
Method Detail

getInstance

public java.lang.Object getInstance()
The object in which property access failed.

getPropertyName

public java.lang.String getPropertyName()
The name of the property the instance fails to provide.

getRootObject

public java.lang.Object getRootObject()
The root object, the object which is the root of the property path.

getPropertyPath

public java.lang.String getPropertyPath()
The property path (containing the invalid property name).