org.apache.bookkeeper.client
Class BKException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.bookkeeper.client.BKException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BKException.BKBookieException, BKException.BKBookieHandleNotAvailableException, BKException.BKDigestMatchException, BKException.BKDigestNotInitializedException, BKException.BKIllegalOpException, BKException.BKNoSuchLedgerExistsException, BKException.BKNotEnoughBookiesException, BKException.BKQuorumException, BKException.BKReadException
public abstract class BKException
- extends Exception
Implements BookKeeper exceptions.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BKException
public BKException(int code)
create
public static BKException create(int code)
setCode
public void setCode(int code)
getCode
public int getCode()
getMessage
public String getMessage(int code)