Class ValidatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.swedenconnect.opensaml.common.validation.ValidatorException
- All Implemented Interfaces:
Serializable
Generic exception class for validator errors.
- Author:
- Martin Lindström (martin@idsec.se)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidatorException
(String message) Constructor accepting an error message.ValidatorException
(String message, Throwable cause) Constructor accepting an error message and the cause of the error.ValidatorException
(ValidationContext context) Constructor that initializes based on the suppliedValidationContext
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidatorException
Constructor that initializes based on the suppliedValidationContext
.- Parameters:
context
- validation context
-
ValidatorException
Constructor accepting an error message.- Parameters:
message
- the error message
-
ValidatorException
Constructor accepting an error message and the cause of the error.- Parameters:
message
- the error messagecause
- the cause of the error
-