42 #ifndef PB_DS_EXCEPTION_HPP
43 #define PB_DS_EXCEPTION_HPP
55 : std::
logic_error(__N(
"__gnu_pbds::container_error")) { }
61 struct insert_error :
public container_error { };
65 struct join_error :
public container_error { };
68 struct resize_error :
public container_error { };
72 __throw_container_error(
void)
73 {
throw container_error(); }
76 __throw_insert_error(
void)
77 {
throw insert_error(); }
80 __throw_join_error(
void)
81 {
throw join_error(); }
84 __throw_resize_error(
void)
85 {
throw resize_error(); }
88 __throw_container_error(
void)
92 __throw_insert_error(
void)
96 __throw_join_error(
void)
100 __throw_resize_error(
void)
One of two subclasses of exception.
logic_error(const string &__arg)