Package org.apache.bookkeeper.metastore
Class MSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.bookkeeper.metastore.MSException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MSException.BadVersionException,MSException.IllegalOpException,MSException.KeyExistsException,MSException.MSInterruptedException,MSException.NoEntriesException,MSException.NoKeyException,MSException.OperationFailureException,MSException.ServiceDownException
Marker for metastore exceptions.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA BadVersion exception.static enumReturn codes.static classIllegal operation exception.static classKey Exists Exception.static classMetastore interruption exception.static classException would be thrown in a cursor if no entries found.static classException in cases where there is no key.static classOperation failure exception.static classService down exception. -
Constructor Summary
ConstructorsConstructorDescriptionMSException(MSException.Code code, String errMsg) MSException(MSException.Code code, String errMsg, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic MSExceptioncreate(MSException.Code code) static MSExceptioncreate(MSException.Code code, String errMsg) static MSExceptioncreate(MSException.Code code, String errMsg, Throwable cause) getCode()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MSException
MSException(MSException.Code code, String errMsg) -
MSException
MSException(MSException.Code code, String errMsg, Throwable cause)
-
-
Method Details
-
getCode
-
create
-
create
-
create
-