helib::LogicError Class Reference

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

#include <exceptions.h>

Inheritance diagram for helib::LogicError:
helib::Exception

Public Member Functions

 LogicError (const std::string &what_arg)
 
 LogicError (const char *what_arg)
 
virtual ~LogicError ()
 
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::logic_error.

Constructor & Destructor Documentation

◆ LogicError() [1/2]

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

◆ LogicError() [2/2]

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

◆ ~LogicError()

virtual helib::LogicError::~LogicError ( )
inlinevirtual

Member Function Documentation

◆ what()

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

Implements helib::Exception.