共用方式為


<stdexcept> Members

Reference

Classes

domain_error Class

The class serves as the base class for all exceptions thrown to report a domain error.

invalid_argument Class

The class serves as the base class for all exceptions thrown to report an invalid argument.

length_error Class

The class serves as the base class for all exceptions thrown to report an attempt to generate an object too long to be specified.

logic_error Class

The class serves as the base class for all exceptions thrown to report errors presumably detectable before the program executes, such as violations of logical preconditions.

out_of_range Class

The class serves as the base class for all exceptions thrown to report an argument that is out of its valid range.

overflow_error Class

The class serves as the base class for all exceptions thrown to report an arithmetic overflow.

range_error Class

The class serves as the base class for all exceptions thrown to report a range error.

runtime_error Class

The class serves as the base class for all exceptions thrown to report errors presumably detectable only when the program executes.

underflow_error Class

The class serves as the base class for all exceptions thrown to report an arithmetic underflow.

See Also

Concepts

<stdexcept>

Thread Safety in the Standard C++ Library