|
cartobase 6.0.6
|
general IO error (should be specialized) More...
#include <cartobase/exception/ioexcept.h>


Public Member Functions | |
| io_error (const std::string &arg, const std::string &filename="") | |
| virtual | ~io_error () throw () |
| virtual const char * | what () const throw () |
| std::string | filename () const |
Static Public Member Functions | |
| static void | launchErrnoExcept (const std::string &filename="") |
| static void | keepExceptionPriority (std::exception &e, int &prio, int &type, std::string &message, int raiseprio=0) |
| static void | launchExcept (int code, const std::string &msg, const std::string &defmsg="") |
| static void | checkFatalIOErrno (const std::string &filename="") |
| checks if errno is a disk full, access or quota error, then throw an exception if so. | |
general IO error (should be specialized)
Definition at line 45 of file ioexcept.h.
| carto::io_error::io_error | ( | const std::string & | arg, |
| const std::string & | filename = "" ) |
References filename().
|
virtual | ||||||||||||
|
static |
checks if errno is a disk full, access or quota error, then throw an exception if so.
References filename().
|
inline |
Definition at line 51 of file ioexcept.h.
References filename().
Referenced by carto::bad_medium_error::bad_medium_error(), carto::bad_medium_error::bad_medium_error(), checkFatalIOErrno(), carto::corrupt_stream_error::corrupt_stream_error(), carto::corrupt_stream_error::corrupt_stream_error(), carto::datatype_format_error::datatype_format_error(), carto::datatype_format_error::datatype_format_error(), carto::disk_full_error::disk_full_error(), carto::disk_full_error::disk_full_error(), carto::eof_error::eof_error(), carto::eof_error::eof_error(), carto::file_not_found_error::file_not_found_error(), carto::file_not_found_error::file_not_found_error(), filename(), carto::format_error::format_error(), carto::format_error::format_error(), carto::format_mismatch_error::format_mismatch_error(), carto::format_mismatch_error::format_mismatch_error(), carto::invalid_format_error::invalid_format_error(), carto::invalid_format_error::invalid_format_error(), io_error(), carto::is_dir_error::is_dir_error(), carto::is_dir_error::is_dir_error(), launchErrnoExcept(), carto::no_dir_error::no_dir_error(), carto::no_dir_error::no_dir_error(), carto::not_open_error::not_open_error(), carto::not_open_error::not_open_error(), carto::open_error::open_error(), carto::permission_error::permission_error(), carto::permission_error::permission_error(), carto::quota_exceeded_error::quota_exceeded_error(), carto::quota_exceeded_error::quota_exceeded_error(), carto::read_write_error::read_write_error(), carto::stream_fail_error::stream_fail_error(), carto::stream_fail_error::stream_fail_error(), carto::stream_state_error::stream_state_error(), carto::syntax_check_error::syntax_check_error(), carto::syntax_check_error::syntax_check_error(), carto::too_many_descriptors_error::too_many_descriptors_error(), carto::too_many_descriptors_error::too_many_descriptors_error(), carto::wrong_format_error::wrong_format_error(), and carto::wrong_format_error::wrong_format_error().
|
static |
|
static |
References filename().
|
static |
|
virtual | ||||||||||||