Package org.rocksdb

Class RocksDBException

All Implemented Interfaces:
Serializable

public class RocksDBException extends Exception
A RocksDBException encapsulates the error of an operation. This exception type is used to describe an internal error from the c++ rocksdb library.
See Also:
  • Constructor Details

    • RocksDBException

      public RocksDBException(String msg)
      The private construct used by a set of public static factory method.
      Parameters:
      msg - the specified error message.
    • RocksDBException

      public RocksDBException(String msg, Status status)
    • RocksDBException

      public RocksDBException(Status status)
  • Method Details

    • getStatus

      public Status getStatus()
      Get the status returned from RocksDB
      Returns:
      The status reported by RocksDB, or null if no status is available