#include <unixstl/error/exceptions.hpp>
Types | |
typedef stlsoft::exception_string | string_type |
typedef stlsoft::os_exception | parent_class_type |
The parent type. | |
typedef int | error_code_type |
typedef unix_exception | class_type |
The type of the current instantiation. | |
Construction | |
unix_exception (error_code_type err) | |
unix_exception (char const *reason, error_code_type err) | |
virtual | ~unix_exception () throw () |
Destructor. | |
unix_exception (string_type const &reason, error_code_type err) | |
Public Member Functions | |
Accessors | |
virtual char const * | what () const throw () |
Returns a human-readable string describing the exception condition. | |
error_code_type | get_error_code () const |
The error code associated with the exception. | |
error_code_type | get_errno () const |
[DEPRECATED] The error code associated with the exception | |
char const * | strerror () const |
[DEPRECATED] String form of the contained error code |
typedef stlsoft:: os_exception parent_class_type |
The parent type.
Reimplemented from os_exception.
Reimplemented in missing_entry_point_exception, readdir_sequence_exception, synchronisation_exception, and tss_exception.
typedef unix_exception class_type |
The type of the current instantiation.
Reimplemented from os_exception.
Reimplemented in missing_entry_point_exception, readdir_sequence_exception, synchronisation_exception, and tss_exception.
virtual ~unix_exception | ( | ) | throw () [inline, virtual] |
Destructor.
virtual char const* what | ( | ) | const throw () [inline, virtual] |
Returns a human-readable string describing the exception condition.
Implements os_exception.
Reimplemented in tss_exception.
References UNIXSTL_ASSERT.
error_code_type get_error_code | ( | ) | const [inline] |
The error code associated with the exception.
error_code_type get_errno | ( | ) | const [inline] |
char const* strerror | ( | ) | const [inline] |
[DEPRECATED] String form of the contained error code