STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
logic_error Class Reference
Inheritance diagram for logic_error:
domain_error future_error invalid_argument length_error out_of_range

Public Member Functions

 logic_error (const string &_Message)
 
 logic_error (const char *_Message)
 

Protected Member Functions

virtual void _Doraise () const
 

Constructor & Destructor Documentation

logic_error::logic_error ( const string _Message)
inlineexplicit
22  : _Mybase(_Message.c_str())
23  { // construct from message string
24  }
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
logic_error::logic_error ( const char *  _Message)
inlineexplicit
27  : _Mybase(_Message)
28  { // construct from message string
29  }

Member Function Documentation

virtual void logic_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented in future_error, out_of_range, length_error, invalid_argument, and domain_error.

36  { // perform class-specific exception handling
37  _RAISE(*this);
38  }
#define _RAISE(x)
Definition: xstddef:70

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