public class TransformException extends PersistenceException
TransformException
is thrown if a problem occurs
during the transformation of an object. This can be thrown either
because a transform could not be found for a specific type or
because the format of the text value had an invalid structure.Constructor and Description |
---|
TransformException(String text,
Object... list)
Constructor for the
TransformException object. |
TransformException(Throwable cause,
String text,
Object... list)
Constructor for the
TransformException object. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TransformException(String text, Object... list)
TransformException
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 TransformException(Throwable cause, String text, Object... list)
TransformException
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