com.primix.tapestry.util.prop
Class MissingAccessorException

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

public class MissingAccessorException
extends java.lang.RuntimeException

Describes a case where the necessary accessor or mutator method could not be located when dynamically getting or setting a property.

Version:
$Id: MissingAccessorException.java,v 1.4 2001/05/02 14:15:17 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
MissingAccessorException(java.lang.Object rootObject, java.lang.String propertyPath, java.lang.Object object, java.lang.String propertyName)
           
MissingAccessorException(java.lang.String message, java.lang.Object object, java.lang.String propertyName)
           
 
Method Summary
 java.lang.Object getObject()
           
 java.lang.String getPropertyName()
           
 java.lang.String getPropertyPath()
           
 java.lang.Object getRootObject()
           
 
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

MissingAccessorException

public MissingAccessorException(java.lang.Object rootObject,
                                java.lang.String propertyPath,
                                java.lang.Object object,
                                java.lang.String propertyName)
Parameters:
rootObject - the initial object for which a property was being set or retrieved.
propertyPath - the full property name. The failure may occur when processing any term within the name.
object - the specific object being accessed at the time of the failure
propertyName - the specific property for which no accessor was available

MissingAccessorException

public MissingAccessorException(java.lang.String message,
                                java.lang.Object object,
                                java.lang.String propertyName)
Method Detail

getObject

public java.lang.Object getObject()

getPropertyName

public java.lang.String getPropertyName()

getPropertyPath

public java.lang.String getPropertyPath()

getRootObject

public java.lang.Object getRootObject()