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

#include <types.h>

Inheritance diagram for qevercloud::EDAMInvalidContactsException:
qevercloud::EvernoteException qevercloud::EverCloudException

Public Member Functions

 EDAMInvalidContactsException ()
 
virtual ~EDAMInvalidContactsException () Q_DECL_OVERRIDE throw ()
 
 EDAMInvalidContactsException (const EDAMInvalidContactsException &other)
 
const char * what () const Q_DECL_OVERRIDE throw ()
 
virtual QSharedPointer< EverCloudExceptionDataexceptionData () const Q_DECL_OVERRIDE
 
bool operator== (const EDAMInvalidContactsException &other) const
 
bool operator!= (const EDAMInvalidContactsException &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

QList< Contactcontacts
 
Optional< QString > parameter
 
Optional< QList< EDAMInvalidContactReason::type > > reasons
 

Additional Inherited Members

- Protected Attributes inherited from qevercloud::EverCloudException
QByteArray m_error
 

Detailed Description

An exception thrown when the provided Contacts fail validation. For instance, email domains could be invalid, phone numbers might not be valid for SMS, etc.

We will not provide individual reasons for each Contact's validation failure. The presence of the Contact in this exception means that the user must figure out how to take appropriate action to fix this Contact.

contacts

The list of Contacts that are considered invalid by the service

parameter

If the error applied to a particular input parameter, this will indicate which parameter.

reasons
If supplied, the list of reasons why the server considered a contact invalid, matching, in order, the list returned in the contacts field.

Constructor & Destructor Documentation

◆ EDAMInvalidContactsException() [1/2]

qevercloud::EDAMInvalidContactsException::EDAMInvalidContactsException ( )

◆ ~EDAMInvalidContactsException()

virtual qevercloud::EDAMInvalidContactsException::~EDAMInvalidContactsException ( )
throw (
)
virtual

◆ EDAMInvalidContactsException() [2/2]

qevercloud::EDAMInvalidContactsException::EDAMInvalidContactsException ( const EDAMInvalidContactsException other)

Member Function Documentation

◆ exceptionData()

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

Reimplemented from qevercloud::EvernoteException.

◆ operator!=()

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

◆ operator==()

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

◆ what()

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

Member Data Documentation

◆ contacts

QList< Contact > qevercloud::EDAMInvalidContactsException::contacts

◆ parameter

Optional< QString > qevercloud::EDAMInvalidContactsException::parameter

◆ reasons

Optional< QList< EDAMInvalidContactReason::type > > qevercloud::EDAMInvalidContactsException::reasons