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

I/O error class. More...

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

Public Member Functions

 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

I/O error class.

This exception throws when an input or output operation has failed. e.g. File not found, write error ... etc.

Constructor & Destructor Documentation

IOError::IOError ( const char *  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

message should encode to UTF-8.

IOError::IOError ( const wchar_t *  message)
explicit

Create exception with message.

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

Create exception with message.

Parameters
[in]messageerror message

message should encode to UTF-8

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

Create exception with message.

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

Create exception with message.

Parameters
[in]messageerror message

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