public class ErrorCodeException
extends java.lang.Exception
Modifier | Constructor and Description |
---|---|
protected |
ErrorCodeException(int errorCode) |
Modifier and Type | Method and Description |
---|---|
static void |
checkResult(int resultCode) |
int |
getErrorCode()
returns the native Wasabi low level error code that triggered the
exception
|
ErrorCodeExplanation |
getExplanation()
returns an explanation of the error code if available (null otherwise).
|
public int getErrorCode()
public ErrorCodeExplanation getExplanation()
public static void checkResult(int resultCode) throws ErrorCodeException
ErrorCodeException