Lines Matching refs:DO_THROW
69 #define DO_THROW(exc, init_args) do_throw( []{ throw exc init_args; } ); macro
76 #define DO_THROW(exc, init_args) PRINT_ERROR_AND_ABORT(#exc, #init_args) macro
81 case exception_id::bad_alloc: DO_THROW(std::bad_alloc, ()); break; in throw_exception()
82 case exception_id::bad_last_alloc: DO_THROW(bad_last_alloc, ()); break; in throw_exception()
83 case exception_id::user_abort: DO_THROW( user_abort, () ); break; in throw_exception()
84 …case exception_id::nonpositive_step: DO_THROW(std::invalid_argument, ("Step must be positive") ); … in throw_exception()
85 …case exception_id::out_of_range: DO_THROW(std::out_of_range, ("Index out of requested size range")… in throw_exception()
86 …case exception_id::reservation_length_error: DO_THROW(std::length_error, ("Attempt to exceed imple… in throw_exception()
87 case exception_id::missing_wait: DO_THROW(missing_wait, ()); break; in throw_exception()
88 …case exception_id::invalid_load_factor: DO_THROW(std::out_of_range, ("Invalid hash load factor"));… in throw_exception()
89 case exception_id::invalid_key: DO_THROW(std::out_of_range, ("invalid key")); break; in throw_exception()
90 …case exception_id::bad_tagged_msg_cast: DO_THROW(std::runtime_error, ("Illegal tagged_msg cast"));… in throw_exception()
91 case exception_id::unsafe_wait: DO_THROW(unsafe_wait, ("Unsafe to wait further")); break; in throw_exception()