dsto.dfc.util
Class IllegalFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dsto.dfc.util.IllegalFormatException
- All Implemented Interfaces:
- Serializable
public class IllegalFormatException
- extends RuntimeException
Indicates an illegal format has been detected.
This is a "legacy" exception used primarily by the DFC Swing forms
library and the dfc.text library. It is similar to the newer
InvalidFormatException
but carries a "source" reference to
help in UI binding and is unchecked to avoid having to wrap the
exception in cases where the input value is known to be valid. New
code should probably use InvalidFormatException.
- Version:
- $Revision$
- See Also:
InvalidFormatException
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalFormatException
public IllegalFormatException(Object source,
Object value,
Class form)
- Generate a message indicating that a value could not be converted
to a given class.
IllegalFormatException
public IllegalFormatException(Object source,
Object value,
Class form,
Throwable ex)
IllegalFormatException
public IllegalFormatException(Object source,
String message,
Object value,
Class form)
IllegalFormatException
public IllegalFormatException(Object source,
IllegalFormatException ex)
- Useful for rethrowing an IllegalFormatException with a new source.
getSource
public Object getSource()
getValue
public Object getValue()
getForm
public Class getForm()
Copyright © 2008 Commonwealth of Australia