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

#include <Types.h>

Inheritance diagram for qevercloud::EDAMSystemException:
qevercloud::EvernoteException qevercloud::Printable qevercloud::EverCloudException qevercloud::EDAMSystemExceptionAuthExpired qevercloud::EDAMSystemExceptionRateLimitReached

Public Member Functions

 EDAMSystemException ()
 
virtual ~EDAMSystemException () noexcept override
 
 EDAMSystemException (const EDAMSystemException &other)
 
const char * what () const noexcept override
 
virtual EverCloudExceptionDataPtr exceptionData () const override
 
virtual void print (QTextStream &strm) const override
 
bool operator== (const EDAMSystemException &other) const
 
bool operator!= (const EDAMSystemException &other) const
 
- Public Member Functions inherited from qevercloud::EvernoteException
 EvernoteException ()
 
 EvernoteException (QString error)
 
 EvernoteException (const std::string &error)
 
 EvernoteException (const char *error)
 
- Public Member Functions inherited from qevercloud::EverCloudException
 EverCloudException ()
 
 EverCloudException (QString error)
 
 EverCloudException (const std::string &error)
 
 EverCloudException (const char *error)
 
virtual ~EverCloudException () noexcept override
 
- Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
 
virtual ~Printable ()=default
 
virtual QString toString () const
 

Public Attributes

EDAMErrorCode errorCode
 
Optional< QString > message
 
Optional< qint32 > rateLimitDuration
 

Additional Inherited Members

- Protected Attributes inherited from qevercloud::EverCloudException
QByteArray m_error
 

Detailed Description

This exception is thrown by EDAM procedures when a call fails as a result of a problem in the service that could not be changed through caller action.

errorCode: The numeric code indicating the type of error that occurred. must be one of the values of EDAMErrorCode.

message: This may contain additional information about the error

rateLimitDuration: Indicates the minimum number of seconds that an application should expect subsequent API calls for this user to fail. The application should not retry API requests for the user until at least this many seconds have passed. Present only when errorCode is RATE_LIMIT_REACHED,

Constructor & Destructor Documentation

◆ EDAMSystemException() [1/2]

qevercloud::EDAMSystemException::EDAMSystemException ( )

◆ ~EDAMSystemException()

virtual qevercloud::EDAMSystemException::~EDAMSystemException ( )
overridevirtualnoexcept

◆ EDAMSystemException() [2/2]

qevercloud::EDAMSystemException::EDAMSystemException ( const EDAMSystemException other)

Member Function Documentation

◆ exceptionData()

virtual EverCloudExceptionDataPtr qevercloud::EDAMSystemException::exceptionData ( ) const
overridevirtual

◆ operator!=()

bool qevercloud::EDAMSystemException::operator!= ( const EDAMSystemException other) const
inline

◆ operator==()

bool qevercloud::EDAMSystemException::operator== ( const EDAMSystemException other) const
inline

◆ print()

virtual void qevercloud::EDAMSystemException::print ( QTextStream &  strm) const
overridevirtual

Implements qevercloud::Printable.

◆ what()

const char* qevercloud::EDAMSystemException::what ( ) const
overridevirtualnoexcept

Reimplemented from qevercloud::EverCloudException.

Member Data Documentation

◆ errorCode

EDAMErrorCode qevercloud::EDAMSystemException::errorCode

◆ message

Optional< QString > qevercloud::EDAMSystemException::message

◆ rateLimitDuration

Optional< qint32 > qevercloud::EDAMSystemException::rateLimitDuration