com.werken.forehead
Class NoSuchPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.werken.forehead.ForeheadException
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. |
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 |
propertyName
private java.lang.String propertyName
- Name of the not found property.
NoSuchPropertyException
public NoSuchPropertyException(java.lang.String propertyName)
- Construct.
- Parameters:
propertyName
- The name of the not found property.
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.