lemon/error.h
changeset 1853 dd0b47adc152
parent 1827 dc660ed95b31
child 1875 98698b69a902
equal deleted inserted replaced
4:12947dee0c1a 5:1366dc7e53f2
   374     }
   374     }
   375 
   375 
   376     virtual ~FileOpenError() throw() {}
   376     virtual ~FileOpenError() throw() {}
   377   };
   377   };
   378 
   378 
   379   class IOParameterError : public LogicError {
   379   class IOParameterError : public IOError {
   380   protected:
   380   protected:
   381     ExceptionMember<std::string> _message;
   381     ExceptionMember<std::string> _message;
   382     ExceptionMember<std::string> _file;
   382     ExceptionMember<std::string> _file;
   383 
   383 
   384     mutable ExceptionMember<std::string> _message_holder;
   384     mutable ExceptionMember<std::string> _message_holder;
   385   public:
   385   public:
   386 
   386 
   387     IOParameterError(const IOParameterError &ile) : 
   387     IOParameterError(const IOParameterError &ile) : 
   388       LogicError(ile), _message(ile._message), _file(ile._file) {}
   388       IOError(ile), _message(ile._message), _file(ile._file) {}
   389 
   389 
   390     ///\e 
   390     ///\e 
   391     explicit IOParameterError(const char *the_message)
   391     explicit IOParameterError(const char *the_message)
   392       : _message(the_message) {}
   392       : _message(the_message) {}
   393 
   393