QEverCloud  4.1.0
Unofficial Evernote Cloud API for Qt
Public Member Functions | Protected Attributes | List of all members
qevercloud::ThriftExceptionData Class Reference

#include <exceptions.h>

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

Public Member Functions

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

Protected Attributes

ThriftException::Type::type m_type
 

Additional Inherited Members

- Public Attributes inherited from qevercloud::EverCloudExceptionData
QString errorMessage
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ThriftExceptionData()

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

Member Function Documentation

◆ throwException()

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

If you want to throw an exception that corresponds to a recrived 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::type qevercloud::ThriftExceptionData::m_type
protected