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

Class for bad argument exceptions. More...

#include <exceptions.hpp>

Inheritance diagram for BadArgumentException:

Public Member Functions

 BadArgumentException (const std::string &arg_name, const std::string &expected)
 
 BadArgumentException (const std::string &context, const std::string &arg_name, const std::string &expected)
 
virtual ~BadArgumentException () throw ()
 
virtual const char * what () const throw ()
 

Protected Attributes

std::string message
 

Detailed Description

Class for bad argument exceptions.

Constructor & Destructor Documentation

◆ BadArgumentException() [1/2]

BadArgumentException::BadArgumentException ( const std::string &  arg_name,
const std::string &  expected 
)

◆ BadArgumentException() [2/2]

BadArgumentException::BadArgumentException ( const std::string &  context,
const std::string &  arg_name,
const std::string &  expected 
)

◆ ~BadArgumentException()

virtual BadArgumentException::~BadArgumentException ( )
throw (
)
virtual

Member Function Documentation

◆ what()

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

Member Data Documentation

◆ message

std::string BadArgumentException::message
protected

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