public class UnauthenticatedException extends ApiException
Exception thrown when the request does not have valid authentication credentials for the operation.
Constructors
UnauthenticatedException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
public UnauthenticatedException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters | |
---|---|
Name | Description |
message |
String |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable)
public UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters | |
---|---|
Name | Description |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
public UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters | |
---|---|
Name | Description |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
errorDetails |
ErrorDetails |