QEverCloud  3.0.0
Unofficial Evernote Cloud API for Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Protected Attributes | List of all members
qevercloud::ThriftException Class Reference

#include <exceptions.h>

Inheritance diagram for qevercloud::ThriftException:
qevercloud::EverCloudException

Classes

struct  Type
 

Public Member Functions

 ThriftException ()
 
 ThriftException (Type::type type)
 
 ThriftException (Type::type type, QString message)
 
Type::type type () const
 
const char * what () const Q_DECL_OVERRIDE throw ()
 
virtual QSharedPointer
< EverCloudExceptionData
exceptionData () const Q_DECL_OVERRIDE
 
- 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 ()
 

Protected Attributes

Type::type m_type
 
- Protected Attributes inherited from qevercloud::EverCloudException
QByteArray m_error
 

Detailed Description

Errors of the Thrift protocol level. It could be wrongly formatted parameters or return values for example.

Constructor & Destructor Documentation

qevercloud::ThriftException::ThriftException ( )
qevercloud::ThriftException::ThriftException ( Type::type  type)
qevercloud::ThriftException::ThriftException ( Type::type  type,
QString  message 
)

Member Function Documentation

QSharedPointer< EverCloudExceptionData > qevercloud::ThriftException::exceptionData ( ) const
inlinevirtual

Reimplemented from qevercloud::EverCloudException.

Type::type qevercloud::ThriftException::type ( ) const
const char* qevercloud::ThriftException::what ( ) const
throw (
)

Member Data Documentation

Type::type qevercloud::ThriftException::m_type
protected