|
QEverCloud 6.1.0
Unofficial Evernote Cloud API for Qt
|
#include <Exceptions.h>
Public Types | |
| enum class | Type { UNKNOWN = 0 , UNKNOWN_METHOD = 1 , INVALID_MESSAGE_TYPE = 2 , WRONG_METHOD_NAME = 3 , BAD_SEQUENCE_ID = 4 , MISSING_RESULT = 5 , INTERNAL_ERROR = 6 , PROTOCOL_ERROR = 7 , INVALID_DATA = 8 } |
Public Member Functions | |
| ThriftException () | |
| ThriftException (Type type) | |
| ThriftException (Type type, QString message) | |
| virtual | ~ThriftException () noexcept override |
| bool | operator== (const ThriftException &other) const |
| bool | operator!= (const ThriftException &other) const |
| Type | type () const |
| const char * | what () const noexcept override |
| virtual EverCloudExceptionDataPtr | exceptionData () const override |
| Public Member Functions inherited from qevercloud::EverCloudException | |
| EverCloudException () | |
| EverCloudException (QString error) | |
| EverCloudException (const std::string &error) | |
| EverCloudException (const char *error) | |
| virtual | ~EverCloudException () noexcept override |
Protected Attributes | |
| Type | m_type |
| Protected Attributes inherited from qevercloud::EverCloudException | |
| QByteArray | m_error |
Friends | |
| QEVERCLOUD_EXPORT QTextStream & | operator<< (QTextStream &strm, const Type type) |
Errors of the Thrift protocol level. It could be wrongly formatted parameters or return values for example.
|
strong |
| qevercloud::ThriftException::ThriftException | ( | ) |
| qevercloud::ThriftException::ThriftException | ( | Type | type | ) |
| qevercloud::ThriftException::ThriftException | ( | Type | type, |
| QString | message ) |
|
overridevirtualnoexcept |
|
overridevirtual |
Reimplemented from qevercloud::EverCloudException.
| bool qevercloud::ThriftException::operator!= | ( | const ThriftException & | other | ) | const |
| bool qevercloud::ThriftException::operator== | ( | const ThriftException & | other | ) | const |
| Type qevercloud::ThriftException::type | ( | ) | const |
|
overridevirtualnoexcept |
Reimplemented from qevercloud::EverCloudException.
|
friend |
|
protected |