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 SummaryConstructorsConstructorDescriptionUserAuthenticationException(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 SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
UserAuthenticationExceptionConstructor setting the error code and error message.- Parameters:
- errorCode- the authentication error code
- message- the error message
 
- 
UserAuthenticationExceptionpublic 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 code
- message- the error message
- cause- the cause of the error
 
 
- 
- 
Method Details- 
getErrorCodeGets the error code.- Returns:
- the error code
 
 
-