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:
java.io.Serializable
public class AuthenticationException extends NgcException
Exception thrown when the authentication to the service has failed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticationException.AuthenticationExceptionCause
Possible causes of an AuthenticationException.
-
Constructor Summary
Constructors Constructor Description AuthenticationException(java.lang.String message, AuthenticationException.AuthenticationExceptionCause cause)
Constructor.AuthenticationException(java.lang.String message, AuthenticationException.AuthenticationExceptionCause exceptionCause, java.lang.Throwable cause)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationException.AuthenticationExceptionCause
getExceptionCause()
Returns the cause of this authentication exception.
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(java.lang.String message, AuthenticationException.AuthenticationExceptionCause cause)
Constructor.- Parameters:
message
- messagecause
- exception cause
-
AuthenticationException
public AuthenticationException(java.lang.String message, AuthenticationException.AuthenticationExceptionCause exceptionCause, java.lang.Throwable cause)
Constructor.- Parameters:
message
- messageexceptionCause
- exception causecause
- causing exception
-
-
Method Detail
-
getExceptionCause
public AuthenticationException.AuthenticationExceptionCause getExceptionCause()
Returns the cause of this authentication exception.- Returns:
- exception cause
- See Also:
AuthenticationException.AuthenticationExceptionCause
-
-