QEverCloud  3.0.0
Unofficial Evernote Cloud API for Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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

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

Member Function Documentation

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

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