Class NativeIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.io.nativeio.NativeIOException
All Implemented Interfaces:
Serializable

public class NativeIOException extends IOException
An exception generated by a call to the native IO code. These exceptions simply wrap errno result codes on Linux, or the System Error Code on Windows.
See Also:
  • Constructor Details

    • NativeIOException

      public NativeIOException(String msg, Errno errno)
    • NativeIOException

      public NativeIOException(String msg, int errorCode)
  • Method Details

    • getErrorCode

      public long getErrorCode()
    • getErrno

      public Errno getErrno()
    • toString

      public String toString()
      Overrides:
      toString in class Throwable