Package com.saperion.ngc.exception
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.ngc.exception.NgcException
com.saperion.ngc.exception.AuthenticationException
- All Implemented Interfaces:
Serializable
Exception thrown when the authentication to the service has failed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Possible causes of an AuthenticationException. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.AuthenticationException
(String message, AuthenticationException.AuthenticationExceptionCause exceptionCause, Throwable cause) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the cause of this authentication exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
public AuthenticationException(String message, AuthenticationException.AuthenticationExceptionCause cause) Constructor.- Parameters:
message
- messagecause
- exception cause
-
AuthenticationException
public AuthenticationException(String message, AuthenticationException.AuthenticationExceptionCause exceptionCause, Throwable cause) Constructor.- Parameters:
message
- messageexceptionCause
- exception causecause
- causing exception
-
-
Method Details
-
getExceptionCause
Returns the cause of this authentication exception.- Returns:
- exception cause
- See Also:
-