Base class for ObjectBox related exceptions. Note that there are currently 3 main sub types: IllegalArgumentException, IllegalStateException, and, for all other error types, DbException. More...
#include <objectbox.hpp>
Public Member Functions | |
virtual int | code () const =0 |
The error code as defined in objectbox.h via the OBX_ERROR_* constants. More... | |
Base class for ObjectBox related exceptions. Note that there are currently 3 main sub types: IllegalArgumentException, IllegalStateException, and, for all other error types, DbException.
|
pure virtual |
The error code as defined in objectbox.h via the OBX_ERROR_* constants.
Implemented in obx::FeatureNotAvailableException, obx::DbException, obx::ShuttingDownException, obx::MaxDataSizeExceededException, obx::IllegalStateException, and obx::IllegalArgumentException.