Package org.xerial.snappy
Class SnappyIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.xerial.snappy.SnappyIOException
-
- All Implemented Interfaces:
java.io.Serializable
public class SnappyIOException extends java.io.IOException
Enhanced IOException with SnappyErrorCode- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private SnappyErrorCode
errorCode
-
Constructor Summary
Constructors Constructor Description SnappyIOException(SnappyErrorCode errorCode, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnappyErrorCode
getErrorCode()
java.lang.String
getMessage()
-
-
-
Field Detail
-
errorCode
private final SnappyErrorCode errorCode
-
-
Constructor Detail
-
SnappyIOException
public SnappyIOException(SnappyErrorCode errorCode, java.lang.String message)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getErrorCode
public SnappyErrorCode getErrorCode()
-
-