public class CSValidationException extends CSException
CSValidationException
class is used to indicate a problem when a validation request is attempted.
A CSValidationException
will be raised if a validation is attempted but cannot be performed due to errors in
the actual validation request. This exception should not be used to indicate the failure state of a successful
validation request.
NO_MSG
Constructor and Description |
---|
CSValidationException()
Creates an empty
CSValidationException object. |
CSValidationException(java.lang.String s)
Creates a
CSValidationException object specifying the associated error message. |
CSValidationException(java.lang.String s,
java.lang.Throwable ex)
Creates a
CSValidationException object specifying the associated error message, and chaining a
preceding exception. |
CSValidationException(java.lang.Throwable ex)
Creates a
CSValidationException object, chaining a preceding exception. |
setThrowOn, throwOn
public CSValidationException()
CSValidationException
object.public CSValidationException(java.lang.String s)
CSValidationException
object specifying the associated error message.s
- error message describing the problem.public CSValidationException(java.lang.String s, java.lang.Throwable ex)
CSValidationException
object specifying the associated error message, and chaining a
preceding exception.s
- error message describing the problem.ex
- previous exception that caused this exception to be createdpublic CSValidationException(java.lang.Throwable ex)
CSValidationException
object, chaining a preceding exception.ex
- previous exception that caused this exception to be createdCopyright © 2022 Goss Interactive Ltd. All Rights Reserved.