QEverCloud 6.1.0
Unofficial Evernote Cloud API for Qt
Loading...
Searching...
No Matches
qevercloud::ThriftExceptionData Class Reference

#include <Exceptions.h>

Inheritance diagram for qevercloud::ThriftExceptionData:
qevercloud::EverCloudExceptionData

Public Member Functions

 ThriftExceptionData (QString error, ThriftException::Type type)
virtual void throwException () const override
Public Member Functions inherited from qevercloud::EverCloudExceptionData
 EverCloudExceptionData (QString error)

Protected Attributes

ThriftException::Type m_type

Additional Inherited Members

Public Attributes inherited from qevercloud::EverCloudExceptionData
QString errorMessage

Detailed Description

Asynchronous API counterpart of ThriftException. See EverCloudExceptionData for more details.

Constructor & Destructor Documentation

◆ ThriftExceptionData()

qevercloud::ThriftExceptionData::ThriftExceptionData ( QString error,
ThriftException::Type type )
explicit

Member Function Documentation

◆ throwException()

virtual void qevercloud::ThriftExceptionData::throwException ( ) const
overridevirtual

If you want to throw an exception that corresponds to a received EverCloudExceptionData descendant than call this function. Do not use throw statement, it's not polymorphic.

Reimplemented from qevercloud::EverCloudExceptionData.

Member Data Documentation

◆ m_type

ThriftException::Type qevercloud::ThriftExceptionData::m_type
protected