IOException@Deprecated
public class SnappyException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
SnappyErrorCode |
errorCode
Deprecated.
|
| Constructor and Description |
|---|
SnappyException(int code)
Deprecated.
|
SnappyException(SnappyErrorCode errorCode)
Deprecated.
|
SnappyException(SnappyErrorCode errorCode,
java.lang.Exception e)
Deprecated.
|
SnappyException(SnappyErrorCode errorCode,
java.lang.String message)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SnappyErrorCode |
getErrorCode()
Deprecated.
|
java.lang.String |
getMessage()
Deprecated.
|
static void |
throwException(int errorCode)
Deprecated.
|
public final SnappyErrorCode errorCode
public SnappyException(int code)
public SnappyException(SnappyErrorCode errorCode)
public SnappyException(SnappyErrorCode errorCode, java.lang.Exception e)
public SnappyException(SnappyErrorCode errorCode, java.lang.String message)
public SnappyErrorCode getErrorCode()
public static void throwException(int errorCode)
throws SnappyException
SnappyExceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwable