Template:cpp/error/exception/member of derived with message

{{member|{{small|std::{{{1}}}::}}{{#explode:{{{1}}}|::|-1}}| {{dcl begin}} {{dcl|num=1| {{{1}}}( const std::string& what_arg ); }} {{dcl|num=2| {{{1}}}( const char* what_arg ); }} {{#if:{{{std|}}} {{dcl|num=3| {{#explode:{{{1}}}|::|-1}}( const {{#explode:{{{1}}}|::|-1}}& other ) noexcept; }} {{dcl rev multi|num=3|until1=c++11 {{#explode:{{{1}}}|::|-1}}( const {{#explode:{{{1}}}|::|-1}}& other ); {{#explode:{{{1}}}|::|-1}}( const {{#explode:{{{1}}}|::|-1}}& other ) noexcept; }} }} {{dcl end}}
 * dcl1=
 * dcl2=

@1@ Constructs the exception object with {{c|what_arg}} as explanatory string. After construction, {{c|1=std::strcmp(what, what_arg.c_str) == 0}}. @2@ Constructs the exception object with {{c|what_arg}} as explanatory string. After construction, {{c|1=std::strcmp(what, what_arg) == 0}}. @3@ Copy constructor. If {{c|*this}} and {{c|other}} both have dynamic type {{tt|std::{{{1}}}}} then {{c|1=std::strcmp(what, other.what) == 0}}. {{#if:{{{std|}}}||{{rev inl|until=c++11|No exception can be thrown from the copy constructor.}}}}

Exceptions
@1-2@ May throw std