xTitan
 All Classes Functions Groups
Public Member Functions | List of all members
xtitan::NetworkError Class Reference

Network error class. More...

Inheritance diagram for xtitan::NetworkError:
xtitan::IOError xtitan::BasicError

Public Member Functions

 NetworkError (const char *message)
 Create exception with message. More...
 
 NetworkError (const wchar_t *message)
 Create exception with message. More...
 
 NetworkError (const std::string &message)
 Create exception with message. More...
 
 NetworkError (const std::wstring &message)
 Create exception with message. More...
 
 NetworkError (const QString &message)
 Create exception with message. More...
 
- Public Member Functions inherited from xtitan::IOError
 IOError (const char *message)
 Create exception with message. More...
 
 IOError (const wchar_t *message)
 Create exception with message. More...
 
 IOError (const std::string &message)
 Create exception with message. More...
 
 IOError (const std::wstring &message)
 Create exception with message. More...
 
 IOError (const QString &message)
 Create exception with message. More...
 
- Public Member Functions inherited from xtitan::BasicError
 BasicError (const char *message)
 Create exception with message. More...
 
 BasicError (const wchar_t *message)
 Create exception with message. More...
 
 BasicError (const std::string &message)
 Create exception with message. More...
 
 BasicError (const std::wstring &message)
 Create exception with message. More...
 
 BasicError (const QString &message)
 Create exception with message. More...
 
virtual ~BasicError () throw ()
 Destructor.
 
const QString & getMessage () const
 Get error message. More...
 
virtual const char * what () const throw ()
 Get error message. More...
 

Detailed Description

Network error class.

This exception throws when a network error occurs.

Constructor & Destructor Documentation

NetworkError::NetworkError ( const char *  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

message should encode to UTF-8.

NetworkError::NetworkError ( const wchar_t *  message)
explicit

Create exception with message.

Parameters
[in]messageerror message
NetworkError::NetworkError ( const std::string &  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

message should encode to UTF-8

NetworkError::NetworkError ( const std::wstring &  message)
explicit

Create exception with message.

Parameters
[in]messageerror message
NetworkError::NetworkError ( const QString &  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

The documentation for this class was generated from the following files: