Interface BKException.Code

  • All Known Subinterfaces:
    BKException.Code
    Enclosing class:
    BKException

    public static interface BKException.Code
    Codes which represent the various exception types.
    • Field Detail

      • UNINITIALIZED

        static final int UNINITIALIZED
        A placer holder (unused).
        See Also:
        Constant Field Values
      • ReadException

        static final int ReadException
        Read operations failed (bookie error).
        See Also:
        Constant Field Values
      • NoBookieAvailableException

        static final int NoBookieAvailableException
        Unused.
        See Also:
        Constant Field Values
      • DigestNotInitializedException

        static final int DigestNotInitializedException
        Digest Manager is not initialized (client error).
        See Also:
        Constant Field Values
      • DigestMatchException

        static final int DigestMatchException
        Digest doesn't match on returned entries.
        See Also:
        Constant Field Values
      • NotEnoughBookiesException

        static final int NotEnoughBookiesException
        Not enough bookies available to form an ensemble.
        See Also:
        Constant Field Values
      • NoSuchLedgerExistsException

        static final int NoSuchLedgerExistsException
        No such ledger exists.
        See Also:
        Constant Field Values
      • BookieHandleNotAvailableException

        static final int BookieHandleNotAvailableException
        Bookies are not available.
        See Also:
        Constant Field Values
      • LedgerRecoveryException

        static final int LedgerRecoveryException
        Ledger recovery operations failed.
        See Also:
        Constant Field Values
      • LedgerClosedException

        static final int LedgerClosedException
        Executing operations on a closed ledger handle.
        See Also:
        Constant Field Values
      • WriteException

        static final int WriteException
        Write operations failed (bookie error).
        See Also:
        Constant Field Values
      • NoSuchEntryException

        static final int NoSuchEntryException
        No such entry exists.
        See Also:
        Constant Field Values
      • IncorrectParameterException

        static final int IncorrectParameterException
        Incorrect parameters (operations are absolutely not executed).
        See Also:
        Constant Field Values
      • InterruptedException

        static final int InterruptedException
        Synchronous operations are interrupted.
        See Also:
        Constant Field Values
      • ProtocolVersionException

        static final int ProtocolVersionException
        Protocol version is wrong (operations are absolutely not executed).
        See Also:
        Constant Field Values
      • MetadataVersionException

        static final int MetadataVersionException
        Bad version on executing metadata operations.
        See Also:
        Constant Field Values
      • MetaStoreException

        static final int MetaStoreException
        Meta store operations failed.
        See Also:
        Constant Field Values
      • ClientClosedException

        static final int ClientClosedException
        Executing operations on a closed client.
        See Also:
        Constant Field Values
      • LedgerExistException

        static final int LedgerExistException
        Ledger already exists.
        See Also:
        Constant Field Values
      • AddEntryQuorumTimeoutException

        static final int AddEntryQuorumTimeoutException
        Add entry operation timeouts on waiting quorum responses.
        Since:
        4.5
        See Also:
        Constant Field Values
      • TimeoutException

        static final int TimeoutException
        Operations timeouts.
        Since:
        4.5
        See Also:
        Constant Field Values
      • NoSuchLedgerExistsOnMetadataServerException

        static final int NoSuchLedgerExistsOnMetadataServerException
        No such ledger exists one metadata server.
        See Also:
        Constant Field Values
      • IllegalOpException

        static final int IllegalOpException
        Operation is illegal.
        See Also:
        Constant Field Values
      • LedgerFencedException

        static final int LedgerFencedException
        Operations failed due to ledgers are fenced.
        See Also:
        Constant Field Values
      • UnauthorizedAccessException

        static final int UnauthorizedAccessException
        Operations failed due to unauthorized.
        See Also:
        Constant Field Values
      • UnclosedFragmentException

        static final int UnclosedFragmentException
        Replication failed due to unclosed fragments.
        See Also:
        Constant Field Values
      • WriteOnReadOnlyBookieException

        static final int WriteOnReadOnlyBookieException
        Write operations failed due to bookies are readonly.
        See Also:
        Constant Field Values
      • TooManyRequestsException

        static final int TooManyRequestsException
        Operations failed due to too many requests in the queue.
        See Also:
        Constant Field Values
      • LedgerIdOverflowException

        static final int LedgerIdOverflowException
        Ledger id overflow happens on ledger manager.
        Since:
        4.5
        See Also:
        Constant Field Values
      • MetadataSerializationException

        static final int MetadataSerializationException
        Failure to serialize metadata.
        Since:
        4.9
        See Also:
        Constant Field Values
      • DataUnknownException

        static final int DataUnknownException
        Operations failed due to ledger data in an unknown state.
        See Also:
        Constant Field Values
      • ReplicationException

        static final int ReplicationException
        Generic exception code used to propagate in replication pipeline.
        See Also:
        Constant Field Values
      • UnexpectedConditionException

        static final int UnexpectedConditionException
        Unexpected condition.
        See Also:
        Constant Field Values