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

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

#include <exception.h>

+ Inheritance diagram for QtJsonSerializer::DeserializationException:

Public Member Functions

 DeserializationException (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 deserializing.

Definition at line 66 of file exception.h.


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