STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Member Functions | List of all members
range_error Class Reference
Inheritance diagram for range_error:
runtime_error

Public Types

typedef runtime_error _Mybase
 

Public Member Functions

 range_error (const string &_Message)
 
 range_error (const char *_Message)
 
- Public Member Functions inherited from runtime_error
 runtime_error (const string &_Message)
 
 runtime_error (const char *_Message)
 

Protected Member Functions

virtual void _Doraise () const
 

Member Typedef Documentation

Constructor & Destructor Documentation

range_error::range_error ( const string _Message)
inlineexplicit
246  : _Mybase(_Message.c_str())
247  { // construct from message string
248  }
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
runtime_error _Mybase
Definition: stdexcept:243
range_error::range_error ( const char *  _Message)
inlineexplicit
251  : _Mybase(_Message)
252  { // construct from message string
253  }
runtime_error _Mybase
Definition: stdexcept:243

Member Function Documentation

virtual void range_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from runtime_error.

260  { // perform class-specific exception handling
261  _RAISE(*this);
262  }
#define _RAISE(x)
Definition: xstddef:70

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