STK++ 0.9.13
STK::length_error Class Reference

Thrown when an object is constructed that would exceed its maximum permitted size (e.g., a basic_String instance). More...

#include <STK_Exceptions.h>

Inheritance diagram for STK::length_error:
Inheritance graph

Public Member Functions

 length_error (String const &__arg)
 
virtual ~length_error () throw ()
 
- Public Member Functions inherited from STK::logic_error
 logic_error (String const &__arg)
 Takes a character String describing the error.
 
virtual ~logic_error () throw ()
 
- Public Member Functions inherited from STK::Exception
 Exception () throw ()
 
 Exception (String const &__arg) throw ()
 Takes a character String describing the error.
 
virtual ~Exception () throw ()
 
virtual const String error () const throw ()
 Returns a C-style character string describing the general cause of the current error.
 

Detailed Description

Thrown when an object is constructed that would exceed its maximum permitted size (e.g., a basic_String instance).


Definition at line 102 of file STK_Exceptions.h.

Constructor & Destructor Documentation

◆ length_error()

STK::length_error::length_error ( String const __arg)
inlineexplicit

Definition at line 161 of file STK_Exceptions.h.

161: logic_error(__arg) {}
logic_error(String const &__arg)
Takes a character String describing the error.

◆ ~length_error()

STK::length_error::~length_error ( )
throw (
)
inlinevirtual

Definition at line 162 of file STK_Exceptions.h.

162{}

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