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::EDAMNotFoundException Class Reference

#include <types.h>

Inheritance diagram for qevercloud::EDAMNotFoundException:
qevercloud::EvernoteException qevercloud::EverCloudException

Public Member Functions

 EDAMNotFoundException ()
 
 ~EDAMNotFoundException () 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

Optional< QString > identifier
 
Optional< QString > key
 

Additional Inherited Members

- Protected Attributes inherited from qevercloud::EverCloudException
QByteArray m_error
 

Detailed Description

This exception is thrown by EDAM procedures when a caller asks to perform an operation on an object that does not exist. This may be thrown based on an invalid primary identifier (e.g. a bad GUID), or when the caller refers to an object by another unique identifier (e.g. a User's email address).

identifier: A description of the object that was not found on the server. For example, "Note.notebookGuid" when a caller attempts to create a note in a notebook that does not exist in the user's account.

key: The value passed from the client in the identifier, which was not found. For example, the GUID that was not found.

Constructor & Destructor Documentation

qevercloud::EDAMNotFoundException::EDAMNotFoundException ( )
inline
qevercloud::EDAMNotFoundException::~EDAMNotFoundException ( )
throw (
)
inline

Member Function Documentation

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

Reimplemented from qevercloud::EvernoteException.

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

Member Data Documentation

Optional< QString > qevercloud::EDAMNotFoundException::identifier
Optional< QString > qevercloud::EDAMNotFoundException::key