Reference

std::tr1::regex_error(3cxx)

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

NAME

std::tr1::regex_error -

A regular expression exception class.

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

SYNOPSIS

Inherits std::runtime_error.

Public Member Functions

regex_constants::error_type code () const
regex_error (regex_constants::error_type __ecode)
virtual const char * what () const throw ()

Protected Attributes

regex_constants::error_type _M_code

Detailed Description

A regular expression exception class.

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

Definition at line 393 of file tr1_impl/regex.

Constructor & Destructor Documentation

std::tr1::regex_error::regex_error (regex_constants::error_type __ecode) [inline, explicit]

Constructs a regex_error object. Parameters:

ecode the regex error code.

Definition at line 403 of file tr1_impl/regex.

Member Function Documentation

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

Gets the regex error code. Returns:

the regex error code.

Definition at line 413 of file tr1_impl/regex.

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.

Author

Generated automatically by Doxygen for libstdc++ from the source code.