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
length_error Class Reference
Inheritance diagram for length_error:
logic_error

Public Types

typedef logic_error _Mybase
 

Public Member Functions

 length_error (const string &_Message)
 
 length_error (const char *_Message)
 
- Public Member Functions inherited from logic_error
 logic_error (const string &_Message)
 
 logic_error (const char *_Message)
 

Protected Member Functions

virtual void _Doraise () const
 

Member Typedef Documentation

Constructor & Destructor Documentation

length_error::length_error ( const string _Message)
inlineexplicit
106  : _Mybase(_Message.c_str())
107  { // construct from message string
108  }
logic_error _Mybase
Definition: stdexcept:103
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
length_error::length_error ( const char *  _Message)
inlineexplicit
111  : _Mybase(_Message)
112  { // construct from message string
113  }
logic_error _Mybase
Definition: stdexcept:103

Member Function Documentation

virtual void length_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from logic_error.

120  { // perform class-specific exception handling
121  _RAISE(*this);
122  }
#define _RAISE(x)
Definition: xstddef:70

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