org.melati.util
Class FormatPropertyException

Package class diagram package FormatPropertyException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.melati.util.MelatiException
              extended by org.melati.util.PropertyException
                  extended by org.melati.util.FormatPropertyException
All Implemented Interfaces:
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
 String expected
          The expected value.
 String value
          The actual value.
 
Fields inherited from class org.melati.util.PropertyException
properties, propertyName
 
Fields inherited from class org.melati.util.MelatiException
subException
 
Constructor Summary
FormatPropertyException(Properties properties, String propertyName, String value, String expected, Exception problem)
          Full constructor.
 
Method Summary
 String getMessage()
          
 
Methods inherited from class org.melati.util.MelatiException
innermostException, printStackTrace, printStackTrace, printStackTrace
 
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
 

Field Detail

value

public String value
The actual value.


expected

public String expected
The expected value.

Constructor Detail

FormatPropertyException

public FormatPropertyException(Properties properties,
                               String propertyName,
                               String value,
                               String expected,
                               Exception problem)
Full constructor.

Method Detail

getMessage

public String getMessage()
Description copied from class: MelatiException

Overrides:
getMessage in class PropertyException
Returns:
The detail message
See Also:
Throwable.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.