程序包 com.cnosdb

类 CnosDBException

所有已实现的接口:
Serializable
直接已知子类:
CnosDBException.AuthorizationFailedException, CnosDBException.CacheMaxMemorySizeExceededException, CnosDBException.DatabaseNotFoundException, CnosDBException.FieldTypeConflictException, CnosDBException.HintedHandOffQueueNotEmptyException, CnosDBException.PointsBeyondRetentionPolicyException, CnosDBException.RetryBufferOverrunException, CnosDBException.UnableToParseException, CnosDBIOException

public class CnosDBException extends RuntimeException
A wrapper for various exceptions caused while interacting with CnosDB.
作者:
Simon Legner
另请参阅:
  • 构造器详细资料

    • CnosDBException

      public CnosDBException(String message)
    • CnosDBException

      public CnosDBException(String message, Throwable cause)
    • CnosDBException

      public CnosDBException(Throwable cause)
  • 方法详细资料

    • isRetryWorth

      public boolean isRetryWorth()
      返回:
      true if the operation may succeed if repeated, false otherwise.
    • buildExceptionForErrorState

      public static CnosDBException buildExceptionForErrorState(String errorBody)
    • buildExceptionForErrorState

      public static CnosDBException buildExceptionForErrorState(InputStream messagePackErrorBody)
      Create corresponding CnosDBException from the message pack error body.
      参数:
      messagePackErrorBody - the error body if any
      返回:
      the Exception