Top Description Fields Constructors Methods
com.oracle.bmc.auth.exception

public Class AuthClientNotAuthorizedException

extends AuthClientException
Class Inheritance
Imports
com.oracle.bmc.model.BmcException, com.oracle.bmc.util.internal.Validate

Exception thrown when the client failed to authenticate to the auth service using configured key suppliers.

Field Summary

Modifier and TypeField and Description
private static final String
private static final long
private static final int

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

true if the exception is a "client unauthorized" exception
matches
(BmcException
BMC exception to check
cause
)

Return true if the exception is a "client unauthorized" exception.

private static BmcException

Field Detail

MESSAGEback to summary
private static final String MESSAGE
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.oracle.bmc.auth.exception.AuthClientException.serialVersionUID.

STATUS_CODE_UNAUTHORIZEDback to summary
private static final int STATUS_CODE_UNAUTHORIZED

Constructor Detail

AuthClientNotAuthorizedExceptionback to summary
public AuthClientNotAuthorizedException(BmcException e)
AuthClientNotAuthorizedExceptionback to summary
public AuthClientNotAuthorizedException(String message, BmcException cause)

Method Detail

matchesback to summary
public static boolean matches(BmcException cause)

Return true if the exception is a "client unauthorized" exception.

Parameters
cause:BmcException

BMC exception to check

Returns:boolean

true if the exception is a "client unauthorized" exception

validateback to summary
private static BmcException validate(BmcException cause)