org.apache.bookkeeper.bookie
Class BookieException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.bookkeeper.bookie.BookieException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BookieException.BookieIllegalOpException, BookieException.BookieUnauthorizedAccessException

public abstract class BookieException
extends Exception

See Also:
Serialized Form

Nested Class Summary
static class BookieException.BookieIllegalOpException
           
static class BookieException.BookieUnauthorizedAccessException
           
static interface BookieException.Code
           
 
Constructor Summary
BookieException(int code)
           
 
Method Summary
static BookieException create(int code)
           
 int getCode()
           
 String getMessage(int code)
           
 void setCode(int code)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BookieException

public BookieException(int code)
Method Detail

create

public static BookieException create(int code)

setCode

public void setCode(int code)

getCode

public int getCode()

getMessage

public String getMessage(int code)