Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.github.hsnghrld.idpay.exception.ValidationException
-
- All Implemented Interfaces:
Serializable
public final class ValidationException extends Exception
Thrown when input parameters type do not match the expected type. Also for their structure and size.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String message)Constructs aValidationExceptionwith an explanatory message.ValidationException(String message, Throwable cause)Constructs aValidationExceptionwith an explanatory message and cause.ValidationException(Throwable cause)Constructs a newValidationExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(String message)
Constructs aValidationExceptionwith an explanatory message.- Parameters:
message- Detail about the reason for the exception.
-
ValidationException
public ValidationException(String message, Throwable cause)
Constructs aValidationExceptionwith an explanatory message and cause.- Parameters:
message- Detail about the reason for the exception.cause- The cause.
-
ValidationException
public ValidationException(Throwable cause)
Constructs a newValidationExceptionwith the specified cause.- Parameters:
cause- The cause.
-
-