org.melati.util
Class FormatPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.melati.util.MelatiException
org.melati.util.PropertyException
org.melati.util.FormatPropertyException
- All Implemented Interfaces:
- java.io.Serializable
public class FormatPropertyException
- extends PropertyException
Thrown when an attempt is made to cast a String
property value as a numeric type.
- See Also:
- Serialized Form
|
Field Summary |
java.lang.String |
expected
The expected value. |
java.lang.String |
value
The actual value. |
|
Constructor Summary |
FormatPropertyException(java.util.Properties properties,
java.lang.String propertyName,
java.lang.String value,
java.lang.String expected,
java.lang.Exception problem)
Full constructor. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
public java.lang.String value
- The actual value.
expected
public java.lang.String expected
- The expected value.
FormatPropertyException
public FormatPropertyException(java.util.Properties properties,
java.lang.String propertyName,
java.lang.String value,
java.lang.String expected,
java.lang.Exception problem)
- Full constructor.
getMessage
public java.lang.String getMessage()
- Description copied from class:
MelatiException
-
- Overrides:
getMessage in class PropertyException
- Returns:
- The detail message
- See Also:
Throwable.getMessage()
Copyright © 2000-2008 PanEris. All Rights Reserved.