00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef TOOL_EXCEPTIONS_HXX_
00023 # define TOOL_EXCEPTIONS_HXX_
00024
00025 # include "exceptions.hh"
00026
00027 namespace tool
00028 {
00029
00030 inline
00031 user_interruption::user_interruption(const std::string& s):
00032 std::runtime_error (s)
00033 {
00034 }
00035
00036 inline
00037 file_error::file_error(const std::string& s): std::runtime_error (s)
00038 {
00039 }
00040
00041 inline
00042 read_error::read_error(const std::string& s): file_error (s)
00043 {
00044 }
00045
00046 inline
00047 write_error::write_error(const std::string& s): file_error (s)
00048 {
00049 }
00050
00051 inline
00052 seek_error::seek_error(const std::string& s): file_error (s)
00053 {
00054 }
00055
00056 inline
00057 bad_file::bad_file(const std::string& s): file_error (s)
00058 {
00059 }
00060
00061 }
00062
00063 #endif // ! TOOL_EXCEPTIONS_HXX_