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

public Class AuthClientForbiddenException

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

Exception thrown when the client failed to authorize 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 forbidden" exception
matches
(BmcException
BMC exception to check
cause
)

Return true if the exception is a "client forbidden" 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_FORBIDDENback to summary
private static final int STATUS_CODE_FORBIDDEN

Constructor Detail

AuthClientForbiddenExceptionback to summary
public AuthClientForbiddenException(BmcException e)
AuthClientForbiddenExceptionback to summary
public AuthClientForbiddenException(String message, BmcException cause)

Method Detail

matchesback to summary
public static boolean matches(BmcException cause)

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

Parameters
cause:BmcException

BMC exception to check

Returns:boolean

true if the exception is a "client forbidden" exception

validateback to summary
private static BmcException validate(BmcException cause)