Class ValidationSupport.ValidationResultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.swedenconnect.opensaml.common.validation.ValidationSupport.ValidationResultException
- All Implemented Interfaces:
Serializable
- Enclosing class:
ValidationSupport
Exception class that should be used internally by validators to process errors.
- See Also:
-
Constructor Summary
ConstructorDescriptionValidationResultException
(org.opensaml.saml.common.assertion.ValidationResult result) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.common.assertion.ValidationResult
Returns the validation result.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationResultException
public ValidationResultException(org.opensaml.saml.common.assertion.ValidationResult result) Constructor.- Parameters:
result
- the validation result - must not beValidationResult.VALID
-
-
Method Details
-
getResult
public org.opensaml.saml.common.assertion.ValidationResult getResult()Returns the validation result.- Returns:
- the validation result
-