Lines Matching refs:exception
4 class exception {}; class
5 class invalid_argument : public exception {};
8 class derived_exception : public std::exception {};
16 class bad_inheritance : private std::exception {};
17 class no_good_inheritance : protected std::exception {};
18 class really_creative : public non_derived_exception, private std::exception {};
77 throw std::exception(); // Ok in allowed_throws()
78 } catch (std::exception &e) { // Ok in allowed_throws()
80 throw std::exception(); in allowed_throws()
96 } catch (std::exception &e) { // Can be caught as std::exception, even with multiple inheritance in allowed_throws()
131 #define THROW_GOOD_EXCEPTION throw std::exception();
135 class generic_exception : std::exception {};
146 THROW_EXCEPTION(std::exception); // Ok in generic_exceptions()
162 throw bad_generic_exception<std::exception>(); in generic_exceptions()
166 THROW_EXCEPTION(bad_generic_exception<std::exception>); in generic_exceptions()