15 #include "absl/base/internal/throw_delegate.h"
22 #include "absl/base/config.h"
23 #include "absl/base/internal/raw_logging.h"
27 namespace base_internal {
34 #ifdef ABSL_HAVE_EXCEPTIONS
43 #ifdef ABSL_HAVE_EXCEPTIONS
44 Throw(std::logic_error(what_arg));
51 #ifdef ABSL_HAVE_EXCEPTIONS
52 Throw(std::logic_error(what_arg));
59 #ifdef ABSL_HAVE_EXCEPTIONS
60 Throw(std::invalid_argument(what_arg));
67 #ifdef ABSL_HAVE_EXCEPTIONS
68 Throw(std::invalid_argument(what_arg));
76 #ifdef ABSL_HAVE_EXCEPTIONS
77 Throw(std::domain_error(what_arg));
84 #ifdef ABSL_HAVE_EXCEPTIONS
85 Throw(std::domain_error(what_arg));
93 #ifdef ABSL_HAVE_EXCEPTIONS
94 Throw(std::length_error(what_arg));
101 #ifdef ABSL_HAVE_EXCEPTIONS
102 Throw(std::length_error(what_arg));
110 #ifdef ABSL_HAVE_EXCEPTIONS
111 Throw(std::out_of_range(what_arg));
118 #ifdef ABSL_HAVE_EXCEPTIONS
119 Throw(std::out_of_range(what_arg));
127 #ifdef ABSL_HAVE_EXCEPTIONS
128 Throw(std::runtime_error(what_arg));
135 #ifdef ABSL_HAVE_EXCEPTIONS
136 Throw(std::runtime_error(what_arg));
144 #ifdef ABSL_HAVE_EXCEPTIONS
145 Throw(std::range_error(what_arg));
152 #ifdef ABSL_HAVE_EXCEPTIONS
153 Throw(std::range_error(what_arg));
161 #ifdef ABSL_HAVE_EXCEPTIONS
162 Throw(std::overflow_error(what_arg));
169 #ifdef ABSL_HAVE_EXCEPTIONS
170 Throw(std::overflow_error(what_arg));
178 #ifdef ABSL_HAVE_EXCEPTIONS
179 Throw(std::underflow_error(what_arg));
186 #ifdef ABSL_HAVE_EXCEPTIONS
187 Throw(std::underflow_error(what_arg));
195 #ifdef ABSL_HAVE_EXCEPTIONS
196 Throw(std::bad_function_call());
203 #ifdef ABSL_HAVE_EXCEPTIONS
204 Throw(std::bad_alloc());