std::tr1::regex_error Class Reference
[Regular Expressions]

Inheritance diagram for std::tr1::regex_error:

Inheritance graph
List of all members.

Detailed Description

Defines the type of objects thrown as exceptions to report errors from the regular expression library.

Definition at line 327 of file tr1/regex.

Public Member Functions

Protected Attributes


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 337 of file tr1/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 347 of file tr1/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.


The documentation for this class was generated from the following file:
Generated on Sun Mar 18 01:42:26 2007 for libstdc++ by  doxygen 1.5.1