QtJsonSerializer  4.0.0
A library to perform generic seralization and deserialization of QObjects
Public Member Functions | List of all members
QtJsonSerializer::SerializationException Class Reference

Exception thrown by the serializers if something goes wrong while serializing. More...

#include <exception.h>

+ Inheritance diagram for QtJsonSerializer::SerializationException:

Public Member Functions

 SerializationException (const QByteArray &what)
 Constructor with error message.
 
void raise () const override
 Inherits 1.
 
ExceptionBaseclone () const override
 Inherits 1.
 
- Public Member Functions inherited from QtJsonSerializer::Exception
 Exception (const QByteArray &what)
 Constructor with error message.
 
const char * what () const noexcept final
 Inherits 1.
 
QByteArray message () const
 Returns the error message, without the property trace.
 
PropertyTrace propertyTrace () const
 Returns the property trace.
 

Additional Inherited Members

- Public Types inherited from QtJsonSerializer::Exception
using PropertyTrace = QStack< QPair< QByteArray, QByteArray > >
 The type of a stack of a property trace (name, type)
 

Detailed Description

Exception thrown by the serializers if something goes wrong while serializing.

Definition at line 55 of file exception.h.


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