QEverCloud  3.0.3
Unofficial Evernote Cloud API for Qt
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< EverCloudExceptionDataexceptionData () 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

§ ThriftException() [1/3]

qevercloud::ThriftException::ThriftException ( )

§ ThriftException() [2/3]

qevercloud::ThriftException::ThriftException ( Type::type  type)

§ ThriftException() [3/3]

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

Member Function Documentation

§ exceptionData()

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

Reimplemented from qevercloud::EverCloudException.

§ type()

Type::type qevercloud::ThriftException::type ( ) const

§ what()

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

Member Data Documentation

§ m_type

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