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:
Serializable
This class is used to bundle a filesystem error code
with a standard IOException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIOExceptionWithErrorCode(int errorCode) default constructorIOExceptionWithErrorCode(String s, int errorCode) ConstructorIOExceptionWithErrorCode(String s, Throwable t, int errorCode) Constructor taking a message and another exception.IOExceptionWithErrorCode(Throwable t, int errorCode) Constructor taking another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IOExceptionWithErrorCode
public IOExceptionWithErrorCode(int errorCode) default constructor- Parameters:
errorCode- Filesystem error code
-
IOExceptionWithErrorCode
Constructor- Parameters:
s- messageerrorCode- Filesystem error code
-
IOExceptionWithErrorCode
Constructor taking another exception.- Parameters:
t- Exception to grab data from.errorCode- Filesystem error code
-
IOExceptionWithErrorCode
Constructor taking a message and another exception.- Parameters:
s- messaget- Exception to grab data from.errorCode- Filesystem error code
-
-
Method Details
-
getErrorCode
public int getErrorCode()Accessor for filesystem error code- Returns:
- Filesystem error code
-