Class SADValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- se.litsec.swedisheid.opensaml.saml2.signservice.SADValidationException
-
- All Implemented Interfaces:
Serializable
public class SADValidationException extends Exception
Exception class for SAD validation errors.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSADValidationException.ErrorCode
-
Constructor Summary
Constructors Constructor Description SADValidationException(SADValidationException.ErrorCode errorCode, String message)Constructor assigning the error code and error message.SADValidationException(SADValidationException.ErrorCode errorCode, String message, Throwable cause)Constructor assigning the error code, the error message and the cause of the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SADValidationException.ErrorCodegetErrorCode()Returns the error code.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SADValidationException
public SADValidationException(SADValidationException.ErrorCode errorCode, String message)
Constructor assigning the error code and error message.- Parameters:
errorCode- the error codemessage- the error message
-
SADValidationException
public SADValidationException(SADValidationException.ErrorCode errorCode, String message, Throwable cause)
Constructor assigning the error code, the error message and the cause of the error.- Parameters:
errorCode- the error codemessage- the error messagecause- the cause of the error
-
-
Method Detail
-
getErrorCode
public SADValidationException.ErrorCode getErrorCode()
Returns the error code.- Returns:
- error code
-
-