STK++ 0.9.13
STK::invalid_argument Class Reference

Thrown to report invalid arguments to functions. More...

#include <STK_Exceptions.h>

Inheritance diagram for STK::invalid_argument:
Inheritance graph

Public Member Functions

 invalid_argument (String const &__arg)
 
virtual ~invalid_argument () 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 to report invalid arguments to functions.


Definition at line 92 of file STK_Exceptions.h.

Constructor & Destructor Documentation

◆ invalid_argument()

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

Definition at line 157 of file STK_Exceptions.h.

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

◆ ~invalid_argument()

STK::invalid_argument::~invalid_argument ( )
throw (
)
inlinevirtual

Definition at line 158 of file STK_Exceptions.h.

158{}

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