Class UserAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.swedenconnect.signservice.authn.UserAuthenticationException
- All Implemented Interfaces:
Serializable
Exception class for SignService user authentication exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserAuthenticationException(AuthenticationErrorCode errorCode, String message) Constructor setting the error code and error message.UserAuthenticationException(AuthenticationErrorCode errorCode, String message, Throwable cause) Constructor setting the error code, error message and the cause of the error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserAuthenticationException
Constructor setting the error code and error message.- Parameters:
errorCode- the authentication error codemessage- the error message
-
UserAuthenticationException
public UserAuthenticationException(AuthenticationErrorCode errorCode, String message, Throwable cause) Constructor setting the error code, error message and the cause of the error.- Parameters:
errorCode- the authentication error codemessage- the error messagecause- the cause of the error
-
-
Method Details
-
getErrorCode
Gets the error code.- Returns:
- the error code
-