Package org.rocksdb
Class RocksDBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.rocksdb.RocksDBException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionRocksDBException(String msg) The private construct used by a set of public static factory method.RocksDBException(String msg, Status status) RocksDBException(Status status) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RocksDBException
The private construct used by a set of public static factory method.- Parameters:
msg- the specified error message.
-
RocksDBException
-
RocksDBException
-
-
Method Details
-
getStatus
Get the status returned from RocksDB- Returns:
- The status reported by RocksDB, or null if no status is available
-