程序包 com.cnosdb
类 CnosDBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cnosdb.CnosDBException
- 所有已实现的接口:
Serializable
- 直接已知子类:
CnosDBException.AuthorizationFailedException,CnosDBException.CacheMaxMemorySizeExceededException,CnosDBException.DatabaseNotFoundException,CnosDBException.FieldTypeConflictException,CnosDBException.HintedHandOffQueueNotEmptyException,CnosDBException.PointsBeyondRetentionPolicyException,CnosDBException.RetryBufferOverrunException,CnosDBException.UnableToParseException,CnosDBIOException
A wrapper for various exceptions caused while interacting with CnosDB.
- 作者:
- Simon Legner
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final class -
构造器概要
构造器构造器说明CnosDBException(String message) CnosDBException(String message, Throwable cause) CnosDBException(Throwable cause) -
方法概要
修饰符和类型方法说明static CnosDBExceptionbuildExceptionForErrorState(InputStream messagePackErrorBody) Create corresponding CnosDBException from the message pack error body.static CnosDBExceptionbuildExceptionForErrorState(String errorBody) boolean
-
构造器详细资料
-
CnosDBException
-
CnosDBException
-
CnosDBException
-
-
方法详细资料
-
isRetryWorth
public boolean isRetryWorth()- 返回:
- true if the operation may succeed if repeated, false otherwise.
-
buildExceptionForErrorState
-
buildExceptionForErrorState
Create corresponding CnosDBException from the message pack error body.- 参数:
messagePackErrorBody- the error body if any- 返回:
- the Exception
-