Package alluxio.underfs.hdfs
Class AlluxioHdfsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- alluxio.exception.runtime.AlluxioRuntimeException
-
- alluxio.underfs.hdfs.AlluxioHdfsException
-
- All Implemented Interfaces:
java.io.Serializable
public class AlluxioHdfsException extends alluxio.exception.runtime.AlluxioRuntimeException
Alluxio exception for HDFS. Borrow from webhdfs located at org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlluxioHdfsException
fromUfsException(java.lang.Exception e)
Converts a Hdfs exception to a corresponding AlluxioHdfsException.-
Methods inherited from class alluxio.exception.runtime.AlluxioRuntimeException
from, from, from, from, getMessage, getStatus, isRetryable, toGrpcStatusException, toGrpcStatusRuntimeException
-
-
-
-
Method Detail
-
fromUfsException
public static AlluxioHdfsException fromUfsException(java.lang.Exception e)
Converts a Hdfs exception to a corresponding AlluxioHdfsException.- Parameters:
e
- hdfs exception- Returns:
- alluxio hdfs exception
-
-