Package com.mapr.fs.jni
Class IOExceptionWithErrorCode
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.mapr.fs.jni.IOExceptionWithErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
public class IOExceptionWithErrorCode extends java.io.IOExceptionThis class is used to bundle a filesystem error code with a standard IOException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IOExceptionWithErrorCode(int errorCode)default constructorIOExceptionWithErrorCode(java.lang.String s, int errorCode)ConstructorIOExceptionWithErrorCode(java.lang.String s, java.lang.Throwable t, int errorCode)Constructor taking a message and another exception.IOExceptionWithErrorCode(java.lang.Throwable t, int errorCode)Constructor taking another exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Accessor for filesystem error code
-
-
-
Constructor Detail
-
IOExceptionWithErrorCode
public IOExceptionWithErrorCode(int errorCode)
default constructor- Parameters:
errorCode- Filesystem error code
-
IOExceptionWithErrorCode
public IOExceptionWithErrorCode(java.lang.String s, int errorCode)Constructor- Parameters:
s- messageerrorCode- Filesystem error code
-
IOExceptionWithErrorCode
public IOExceptionWithErrorCode(java.lang.Throwable t, int errorCode)Constructor taking another exception.- Parameters:
t- Exception to grab data from.errorCode- Filesystem error code
-
IOExceptionWithErrorCode
public IOExceptionWithErrorCode(java.lang.String s, java.lang.Throwable t, int errorCode)Constructor taking a message and another exception.- Parameters:
s- messaget- Exception to grab data from.errorCode- Filesystem error code
-
-