List of usage examples for org.apache.hadoop.hdfs.protocol AclException AclException
public AclException(String message)
From source file:io.pravega.segmentstore.storage.impl.hdfs.HDFSExceptionHelpers.java
License:Open Source License
/** * Returns a new instance of the HDFS equivalent of StreamSegmentSealedException. * * @param segmentName The name of the segment to construct the Exception for. * @return The new exception./*from w w w .j a v a 2s . c o m*/ */ static AclException segmentSealedException(String segmentName) { return new AclException(segmentName); }