helib::InvalidArgument Class Reference

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

#include <exceptions.h>

Inheritance diagram for helib::InvalidArgument:
helib::Exception

Public Member Functions

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

Constructor & Destructor Documentation

◆ InvalidArgument() [1/2]

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

◆ InvalidArgument() [2/2]

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

◆ ~InvalidArgument()

virtual helib::InvalidArgument::~InvalidArgument ( )
inlinevirtual

Member Function Documentation

◆ what()

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

Implements helib::Exception.