Package alluxio.exception.runtime
Class UnavailableRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- alluxio.exception.runtime.AlluxioRuntimeException
-
- alluxio.exception.runtime.UnavailableRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnavailableRuntimeException extends AlluxioRuntimeException
Exception indicating that the service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff. See litmus test inFailedPreconditionRuntimeException
for deciding between FailedPrecondition, Aborted, and Unavailable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnavailableRuntimeException(java.lang.String message)
Constructor.UnavailableRuntimeException(java.lang.String message, java.lang.Throwable cause)
Constructor.
-
Method Summary
-
Methods inherited from class alluxio.exception.runtime.AlluxioRuntimeException
from, from, from, from, getMessage, getStatus, isRetryable, toGrpcStatusException, toGrpcStatusRuntimeException
-
-
-
-
Constructor Detail
-
UnavailableRuntimeException
public UnavailableRuntimeException(java.lang.String message, java.lang.Throwable cause)
Constructor.- Parameters:
message
- error messagecause
- cause
-
UnavailableRuntimeException
public UnavailableRuntimeException(java.lang.String message)
Constructor.- Parameters:
message
- error message
-
-