Package alluxio.exception.status
Class UnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- alluxio.exception.status.AlluxioStatusException
-
- alluxio.exception.status.UnavailableException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnavailableException extends AlluxioStatusException
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 inFailedPreconditionException
for deciding between FailedPreconditionException, AbortedException, and UnavailableException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnavailableException(java.lang.String message)
UnavailableException(java.lang.String message, java.lang.Throwable cause)
UnavailableException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class alluxio.exception.status.AlluxioStatusException
from, fromAlluxioException, fromCheckedException, fromIOException, fromStatusRuntimeException, fromThrowable, getStatus, getStatusCode, toAlluxioException, toGrpcStatusException
-
-
-
-
Constructor Detail
-
UnavailableException
public UnavailableException(java.lang.String message)
- Parameters:
message
- the exception message
-
UnavailableException
public UnavailableException(java.lang.Throwable cause)
- Parameters:
cause
- the cause of the exception
-
UnavailableException
public UnavailableException(java.lang.String message, java.lang.Throwable cause)
- Parameters:
message
- the exception messagecause
- the cause of the exception
-
-