QEverCloud  4.0.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::EverCloudException qevercloud::EDAMSystemExceptionAuthExpired qevercloud::EDAMSystemExceptionRateLimitReached

Public Member Functions

 EDAMSystemException ()
 
virtual ~EDAMSystemException () Q_DECL_OVERRIDE throw ()
 
 EDAMSystemException (const EDAMSystemException &other)
 
const char * what () const Q_DECL_OVERRIDE throw ()
 
virtual QSharedPointer< EverCloudExceptionDataexceptionData () const Q_DECL_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)
 
 ~EverCloudException () throw ()
 
const char * what () const throw ()
 

Public Attributes

EDAMErrorCode::type 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 ( )
throw (
)
virtual

◆ EDAMSystemException() [2/2]

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

Member Function Documentation

◆ exceptionData()

virtual QSharedPointer<EverCloudExceptionData> qevercloud::EDAMSystemException::exceptionData ( ) const
virtual

◆ operator!=()

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

◆ operator==()

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

◆ what()

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

Member Data Documentation

◆ errorCode

EDAMErrorCode::type qevercloud::EDAMSystemException::errorCode

◆ message

Optional< QString > qevercloud::EDAMSystemException::message

◆ rateLimitDuration

Optional< qint32 > qevercloud::EDAMSystemException::rateLimitDuration