QEverCloud  3.0.0
Unofficial Evernote Cloud API for Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
 ~EDAMSystemException () throw ()
 
const char * what () const Q_DECL_OVERRIDE throw ()
 
virtual QSharedPointer
< EverCloudExceptionData
exceptionData () const Q_DECL_OVERRIDE
 
- 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

qevercloud::EDAMSystemException::EDAMSystemException ( )
inline
qevercloud::EDAMSystemException::~EDAMSystemException ( )
throw (
)
inline

Member Function Documentation

virtual QSharedPointer<EverCloudExceptionData> qevercloud::EDAMSystemException::exceptionData ( ) const
virtual
const char* qevercloud::EDAMSystemException::what ( ) const
throw (
)

Member Data Documentation

EDAMErrorCode::type qevercloud::EDAMSystemException::errorCode
Optional< QString > qevercloud::EDAMSystemException::message
Optional< qint32 > qevercloud::EDAMSystemException::rateLimitDuration