Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
Public Member Functions | List of all members
RuntimeException Class Reference

exception class for program errors More...

#include <runtime_exception.h>

Inheritance diagram for RuntimeException:
Inheritance graph
Collaboration diagram for RuntimeException:
Collaboration graph

Public Member Functions

 RuntimeException (const std::string &error)
 
 RuntimeException (const char *error)
 
const char * what () const noexceptoverride
 

Detailed Description

exception class for program errors

Inherited class from std::exception

Constructor & Destructor Documentation

RuntimeException::RuntimeException ( const std::string &  error)
inlineexplicit

create RuntimeException with error explanation

Parameters
errorexplanation of thrown error as std::string
RuntimeException::RuntimeException ( const char *  error)
inlineexplicit

create RuntimeException with error explanation

Parameters
errorexplanation of thrown error as const char *

Member Function Documentation

const char* RuntimeException::what ( ) const
inlineoverridenoexcept

get error information

Returns
error info as string

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