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

#include <Types.h>

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

Public Member Functions

 EDAMNotFoundException ()
 
virtual ~EDAMNotFoundException () noexcept override
 
 EDAMNotFoundException (const EDAMNotFoundException &other)
 
const char * what () const noexcept override
 
virtual EverCloudExceptionDataPtr exceptionData () const override
 
virtual void print (QTextStream &strm) const override
 
bool operator== (const EDAMNotFoundException &other) const
 
bool operator!= (const EDAMNotFoundException &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

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

◆ EDAMNotFoundException() [1/2]

qevercloud::EDAMNotFoundException::EDAMNotFoundException ( )

◆ ~EDAMNotFoundException()

virtual qevercloud::EDAMNotFoundException::~EDAMNotFoundException ( )
overridevirtualnoexcept

◆ EDAMNotFoundException() [2/2]

qevercloud::EDAMNotFoundException::EDAMNotFoundException ( const EDAMNotFoundException other)

Member Function Documentation

◆ exceptionData()

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

Reimplemented from qevercloud::EvernoteException.

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

◆ what()

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

Reimplemented from qevercloud::EverCloudException.

Member Data Documentation

◆ identifier

Optional< QString > qevercloud::EDAMNotFoundException::identifier

◆ key

Optional< QString > qevercloud::EDAMNotFoundException::key