ObjectBox C and C++ API  0.21.0
obx::MaxDataSizeExceededException Class Reference

Thrown when a transaction is about to commit but it would exceed the user-defined data size limit. See obx_opt_max_data_size_in_kb() for details. More...

#include <objectbox.hpp>

Inheritance diagram for obx::MaxDataSizeExceededException:
Inheritance graph

Public Member Functions

int code () const override
 Always OBX_ERROR_MAX_DATA_SIZE_EXCEEDED. More...
 

Detailed Description

Thrown when a transaction is about to commit but it would exceed the user-defined data size limit. See obx_opt_max_data_size_in_kb() for details.

Member Function Documentation

◆ code()

int obx::MaxDataSizeExceededException::code ( ) const
inlineoverridevirtual

Always OBX_ERROR_MAX_DATA_SIZE_EXCEEDED.

Implements obx::Exception.