public class InvalidFormatException extends TransformException
InvalidFormatException is thrown when there is
a format exception. This exception this will be thrown from the
Transformer should serialization or deserialization
of an object fail. Error messages provided to this exception are
formatted similar to the PrintStream.printf method.| Constructor and Description |
|---|
InvalidFormatException(String text,
Object... list)
Constructor for the
InvalidFormatException object. |
InvalidFormatException(Throwable cause,
String text,
Object... list)
Constructor for the
InvalidFormatException object. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidFormatException(String text, Object... list)
InvalidFormatException object.
This constructor takes a format string an a variable number of
object arguments, which can be inserted into the format string.text - a format string used to present the error messagelist - a list of arguments to insert into the stringpublic InvalidFormatException(Throwable cause, String text, Object... list)
InvalidFormatException object.
This constructor takes a format string an a variable number of
object arguments, which can be inserted into the format string.cause - the source exception this is used to representtext - a format string used to present the error messagelist - a list of arguments to insert into the stri