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

#include <Exceptions.h>

Inheritance diagram for qevercloud::EDAMUserExceptionData:
qevercloud::EvernoteExceptionData qevercloud::EverCloudExceptionData

Public Member Functions

 EDAMUserExceptionData (QString error, EDAMErrorCode errorCode, Optional< QString > parameter)
 
virtual void throwException () const override
 
- Public Member Functions inherited from qevercloud::EvernoteExceptionData
 EvernoteExceptionData (QString error)
 
- Public Member Functions inherited from qevercloud::EverCloudExceptionData
 EverCloudExceptionData (QString error)
 

Protected Attributes

EDAMErrorCode m_errorCode
 
Optional< QString > m_parameter
 

Additional Inherited Members

- Public Attributes inherited from qevercloud::EverCloudExceptionData
QString errorMessage
 

Detailed Description

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

Constructor & Destructor Documentation

◆ EDAMUserExceptionData()

qevercloud::EDAMUserExceptionData::EDAMUserExceptionData ( QString  error,
EDAMErrorCode  errorCode,
Optional< QString >  parameter 
)
explicit

Member Function Documentation

◆ throwException()

virtual void qevercloud::EDAMUserExceptionData::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::EvernoteExceptionData.

Member Data Documentation

◆ m_errorCode

EDAMErrorCode qevercloud::EDAMUserExceptionData::m_errorCode
protected

◆ m_parameter

Optional<QString> qevercloud::EDAMUserExceptionData::m_parameter
protected