ObjectBox C and C++ API  4.0.3
obx::ShuttingDownException Class Reference

The operation on a resource (typically a Store) failed because the resources is in process of being shut down or already has shutdown. For example, calling methods on the Store will throw this exception after Store::close(). More...

#include <objectbox.hpp>

Inheritance diagram for obx::ShuttingDownException:
Inheritance graph

Public Member Functions

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

Detailed Description

The operation on a resource (typically a Store) failed because the resources is in process of being shut down or already has shutdown. For example, calling methods on the Store will throw this exception after Store::close().

Member Function Documentation

◆ code()

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

Always OBX_ERROR_SHUTTING_DOWN.

Reimplemented from obx::IllegalStateException.