org.apache.hadoop.fs
Class FSExceptionMessages

java.lang.Object
  extended by org.apache.hadoop.fs.FSExceptionMessages

public class FSExceptionMessages
extends Object

Standard strings to use in exception messages in filesystems HDFS is used as the reference source of the strings


Field Summary
static String CANNOT_SEEK_PAST_EOF
          Seeks : "Attempted to seek or read past the end of the file"
static String NEGATIVE_SEEK
          Negative offset seek forbidden : "Cannot seek to a negative offset"
static String STREAM_IS_CLOSED
          The operation failed because the stream is closed: "Stream is closed!"
 
Constructor Summary
FSExceptionMessages()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STREAM_IS_CLOSED

public static final String STREAM_IS_CLOSED
The operation failed because the stream is closed: "Stream is closed!"

See Also:
Constant Field Values

NEGATIVE_SEEK

public static final String NEGATIVE_SEEK
Negative offset seek forbidden : "Cannot seek to a negative offset"

See Also:
Constant Field Values

CANNOT_SEEK_PAST_EOF

public static final String CANNOT_SEEK_PAST_EOF
Seeks : "Attempted to seek or read past the end of the file"

See Also:
Constant Field Values
Constructor Detail

FSExceptionMessages

public FSExceptionMessages()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.