sfof
Public Member Functions | Protected Attributes | List of all members
RuntimeException Class Reference

Class for runtime exceptions. More...

#include <exceptions.hpp>

Inheritance diagram for RuntimeException:

Public Member Functions

 RuntimeException (const std::string &context, const std::string &member_name, const std::string &expected)
 
 RuntimeException (const std::string &context, const std::string &error)
 
virtual ~RuntimeException () throw ()
 
virtual const char * what () const throw ()
 

Protected Attributes

std::string message
 

Detailed Description

Class for runtime exceptions.

Constructor & Destructor Documentation

◆ RuntimeException() [1/2]

RuntimeException::RuntimeException ( const std::string &  context,
const std::string &  member_name,
const std::string &  expected 
)

◆ RuntimeException() [2/2]

RuntimeException::RuntimeException ( const std::string &  context,
const std::string &  error 
)

◆ ~RuntimeException()

virtual RuntimeException::~RuntimeException ( )
throw (
)
virtual

Member Function Documentation

◆ what()

const char * RuntimeException::what ( ) const
throw (
)
virtual

Member Data Documentation

◆ message

std::string RuntimeException::message
protected

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