com.werken.forehead
Class NoSuchPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.werken.forehead.ForeheadException
              extended by com.werken.forehead.NoSuchPropertyException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchPropertyException
extends ForeheadException

Indicates attempted use of an unset property.

Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
private  java.lang.String propertyName
          Name of the not found property.
 
Constructor Summary
NoSuchPropertyException(java.lang.String propertyName)
          Construct.
 
Method Summary
 java.lang.String getMessage()
          Retreive the message.
 java.lang.String getPropertyName()
          Retrieve the name of the not found property.
 
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
 

Field Detail

propertyName

private java.lang.String propertyName
Name of the not found property.

Constructor Detail

NoSuchPropertyException

public NoSuchPropertyException(java.lang.String propertyName)
Construct.

Parameters:
propertyName - The name of the not found property.
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Retrieve the name of the not found property.

Returns:
The name of the property.

getMessage

public java.lang.String getMessage()
Retreive the message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The error message.