libstdc++
std::regex_error Class Reference
Inheritance diagram for std::regex_error:

List of all members.

Public Member Functions


Detailed Description

A regular expression exception class.

The regular expression library throws objects of this class on error.


Constructor & Destructor Documentation

std::regex_error::regex_error ( regex_constants::error_type  __ecode) [explicit]

Constructs a regex_error object.

Parameters:
ecodethe regex error code.

Member Function Documentation

regex_constants::error_type std::regex_error::code ( ) const [inline]

Gets the regex error code.

Returns:
the regex error code.

Definition at line 152 of file regex_error.h.

virtual const char* std::runtime_error::what ( ) const throw () [virtual, inherited]

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).

Reimplemented from std::exception.


The documentation for this class was generated from the following file: