Diff of /libutil++/op_exception.h [6bc578] .. [6893b5] Maximize Restore

  Switch to unified view

a/libutil++/op_exception.h b/libutil++/op_exception.h
...
...
33
    char const * what() const throw();
33
    char const * what() const throw();
34
private:
34
private:
35
    std::string message;
35
    std::string message;
36
};
36
};
37
37
38
class op_no_samples_exception : public op_exception {
39
public:
40
  explicit op_no_samples_exception(std::string const & msg);
41
  ~op_no_samples_exception() throw();
42
};
38
43
39
/**
44
/**
40
 * fatal exception, never catch it except at top level (likely main or
45
 * fatal exception, never catch it except at top level (likely main or
41
 * gui). Intended to replace cerr << "blah"; exit(EXIT_FAILURE); by a
46
 * gui). Intended to replace cerr << "blah"; exit(EXIT_FAILURE); by a
42
 * throw op_fatal_error("blah") when returning error code is not an option
47
 * throw op_fatal_error("blah") when returning error code is not an option