STK++ 0.9.13
STK::domain_error Class Reference

Thrown by the library, or by you, to report domain errors (domain in the mathematical sense). More...

#include <STK_Exceptions.h>

Inheritance diagram for STK::domain_error:
Inheritance graph

Public Member Functions

 domain_error (String const &__arg)
 
virtual ~domain_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 by the library, or by you, to report domain errors (domain in the mathematical sense).


Definition at line 83 of file STK_Exceptions.h.

Constructor & Destructor Documentation

◆ domain_error()

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

Definition at line 153 of file STK_Exceptions.h.

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

◆ ~domain_error()

STK::domain_error::~domain_error ( )
throw (
)
inlinevirtual

Definition at line 154 of file STK_Exceptions.h.

154{}

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