Package com.oracle.bmc.auth.exception
Class AuthServerUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.oracle.bmc.model.SdkRuntimeException
-
- com.oracle.bmc.model.BmcException
-
- com.oracle.bmc.auth.exception.AuthServerException
-
- com.oracle.bmc.auth.exception.AuthServerUnavailableException
-
- All Implemented Interfaces:
Serializable
public class AuthServerUnavailableException extends AuthServerException
Exception thrown when the authentication server is unavailable.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.oracle.bmc.model.BmcException
OPC_REQUEST_ID_HEADER
-
-
Constructor Summary
Constructors Constructor Description AuthServerUnavailableException(BmcException e)
AuthServerUnavailableException(String message, BmcException cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
matches(BmcException cause)
Return true if the exception is a “server unavailable” exception.-
Methods inherited from class com.oracle.bmc.model.BmcException
createClientSide, getAdditionalProperties, getMessage, getMessageArguments, getOpcRequestId, getOriginalMessage, getOriginalMessageTemplate, getServiceCode, getServiceDetails, getStatusCode, getUnmodifiedMessage, isClientSide, isTimeout
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthServerUnavailableException
public AuthServerUnavailableException(BmcException e)
-
AuthServerUnavailableException
public AuthServerUnavailableException(String message, BmcException cause)
-
-
Method Detail
-
matches
public static boolean matches(BmcException cause)
Return true if the exception is a “server unavailable” exception.- Parameters:
cause
- BMC exception to check- Returns:
- true if the exception is a “server unavailable” exception
-
-