public class FormatException
extends java.lang.Exception
FormatException
is used to create exceptions that
can use a template string for the message. Each format exception
will accept a string and an ordered list of variables which can
be used to complete the exception message.Constructor and Description |
---|
FormatException(java.lang.String template,
java.lang.Object... list)
Constructor for the
FormatException this requires
a template message and an ordered list of values that are to
be inserted in to the provided template to form the error. |
FormatException(java.lang.Throwable cause,
java.lang.String template,
java.lang.Object... list)
Constructor for the
FormatException this requires
a template message and an ordered list of values that are to
be inserted in to the provided template to form the error. |
public FormatException(java.lang.String template, java.lang.Object... list)
FormatException
this requires
a template message and an ordered list of values that are to
be inserted in to the provided template to form the error.template
- this is the template string to be modifiedlist
- this is the list of values that are to be insertedpublic FormatException(java.lang.Throwable cause, java.lang.String template, java.lang.Object... list)
FormatException
this requires
a template message and an ordered list of values that are to
be inserted in to the provided template to form the error.cause
- this is the original cause of the exceptiontemplate
- this is the template string to be modifiedlist
- this is the list of values that are to be inserted