MySQL 9.0.0
Source Code Documentation
anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler Class Reference
Inheritance diagram for anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler:
[legend]

Public Member Functions

void KeyTooBig () const override
 Called when a JSON object contains a member with a name that is longer than supported by the JSON binary format. More...
 
void ValueTooBig () const override
 Called when a JSON document is too big to be stored in the JSON binary format. More...
 
void TooDeep () const override
 Called when a JSON document has more nesting levels than supported. More...
 
void InvalidJson () const override
 Called when an invalid JSON value is encountered. More...
 
void InternalError (const char *message) const override
 Called when an internal error occurs. More...
 
bool CheckStack () const override
 Check if the stack is about to be exhausted, and report the error. More...
 
- Public Member Functions inherited from JsonSerializationErrorHandler
virtual ~JsonSerializationErrorHandler ()=default
 

Member Function Documentation

◆ CheckStack()

bool anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler::CheckStack ( ) const
inlineoverridevirtual

Check if the stack is about to be exhausted, and report the error.

Returns
true if the stack is about to be exhausted, false otherwise.

Implements JsonSerializationErrorHandler.

◆ InternalError()

void anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler::InternalError ( const char *  message) const
inlineoverridevirtual

Called when an internal error occurs.

Implements JsonSerializationErrorHandler.

◆ InvalidJson()

void anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler::InvalidJson ( ) const
inlineoverridevirtual

Called when an invalid JSON value is encountered.

Implements JsonSerializationErrorHandler.

◆ KeyTooBig()

void anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler::KeyTooBig ( ) const
inlineoverridevirtual

Called when a JSON object contains a member with a name that is longer than supported by the JSON binary format.

Implements JsonSerializationErrorHandler.

◆ TooDeep()

void anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler::TooDeep ( ) const
inlineoverridevirtual

Called when a JSON document has more nesting levels than supported.

Implements JsonSerializationErrorHandler.

◆ ValueTooBig()

void anonymous_namespace{json_client_library_main.cc}::CoutSerializationErrorHandler::ValueTooBig ( ) const
inlineoverridevirtual

Called when a JSON document is too big to be stored in the JSON binary format.

Implements JsonSerializationErrorHandler.


The documentation for this class was generated from the following file: