Class CheckDigitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.validator.routines.checkdigit.CheckDigitException
- All Implemented Interfaces:
Serializable
Check Digit calculation/validation error.
- Since:
- 1.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with no message.Constructs a new exception with a message.CheckDigitException(String format, Object... args) Constructs a new exception with a message and the underlying cause.CheckDigitException(String msg, Throwable cause) Constructs an Exception with a message and the underlying cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CheckDigitException
public CheckDigitException()Constructs a new exception with no message. -
CheckDigitException
Constructs a new exception with a message.- Parameters:
msg- The error message.
-
CheckDigitException
Constructs a new exception with a message and the underlying cause.- Parameters:
format- SeeString.format(String, Object...).args- SeeString.format(String, Object...).- Throws:
IllegalFormatException- SeeString.format(String, Object...).- Since:
- 1.11.0
-
CheckDigitException
Constructs an Exception with a message and the underlying cause.- Parameters:
msg- The error message.cause- The underlying cause of the error.
-