helib::RuntimeError Class Reference

Inherits from Exception and std::runtime_error. More...

#include <exceptions.h>

Inheritance diagram for helib::RuntimeError:
helib::Exception helib::IOError

Public Member Functions

 RuntimeError (const std::string &what_arg)
 
 RuntimeError (const char *what_arg)
 
virtual ~RuntimeError ()
 
virtual const char * what () const noexcept override
 
- Public Member Functions inherited from helib::Exception
virtual ~Exception ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from helib::Exception
 Exception ()=default
 

Detailed Description

Inherits from Exception and std::runtime_error.

Constructor & Destructor Documentation

◆ RuntimeError() [1/2]

helib::RuntimeError::RuntimeError ( const std::string &  what_arg)
inlineexplicit

◆ RuntimeError() [2/2]

helib::RuntimeError::RuntimeError ( const char *  what_arg)
inlineexplicit

◆ ~RuntimeError()

virtual helib::RuntimeError::~RuntimeError ( )
inlinevirtual

Member Function Documentation

◆ what()

virtual const char* helib::RuntimeError::what ( ) const
inlineoverridevirtualnoexcept

Implements helib::Exception.

Reimplemented in helib::IOError.