Exception UnauthenticatedException (2.45.0)

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
NameDescription
messageString
causeThrowable
statusCodeStatusCode
retryableboolean

UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable)

public UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean

UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)

public UnauthenticatedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean
errorDetailsErrorDetails