STK++ 0.9.13
STK::runtime_error Class Reference

Runtime errors represent problems outside the scope of a program; they cannot be easily predicted and can generally only be caught as the program executes. More...

#include <STK_Exceptions.h>

Inheritance diagram for STK::runtime_error:
Inheritance graph

Public Member Functions

 runtime_error (String const &__arg)
 Takes a character String describing the error.
 
virtual ~runtime_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

Runtime errors represent problems outside the scope of a program; they cannot be easily predicted and can generally only be caught as the program executes.

One of two subclasses of Exception.

Definition at line 125 of file STK_Exceptions.h.

Constructor & Destructor Documentation

◆ runtime_error()

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

Takes a character String describing the error.


Definition at line 169 of file STK_Exceptions.h.

169: Exception(__arg) {}

◆ ~runtime_error()

STK::runtime_error::~runtime_error ( )
throw (
)
inlinevirtual

Definition at line 170 of file STK_Exceptions.h.

170{}

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