Example usage for org.apache.hadoop.hdfs.protocol AclException AclException

List of usage examples for org.apache.hadoop.hdfs.protocol AclException AclException

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs.protocol AclException AclException.

Prototype

public AclException(String message) 

Source Link

Document

Creates a new AclException.

Usage

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);
}