public abstract class BKException extends Exception
| Modifier and Type | Method and Description |
|---|---|
static BKException |
create(int code)
Create an exception from an error code
|
int |
getCode() |
static String |
getMessage(int code) |
void |
setCode(int code) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static BKException create(int code)
code - return error codepublic void setCode(int code)
public int getCode()
public static String getMessage(int code)
Copyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.