Botan  2.7.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Invalid_Argument Class Reference

#include <exceptn.h>

Inheritance diagram for Botan::Invalid_Argument:
Botan::Exception Botan::Decoding_Error Botan::Encoding_Error Botan::Invalid_Algorithm_Name Botan::Invalid_IV_Length Botan::Invalid_Key_Length Botan::Pipe::Invalid_Message_Number Botan::Unsupported_Argument Botan::BER_Decoding_Error Botan::Invalid_OID Botan::PKCS8_Exception Botan::BER_Bad_Tag

Public Member Functions

 Invalid_Argument (const std::string &msg)
 
 Invalid_Argument (const std::string &msg, const std::string &where)
 
const char * what () const BOTAN_NOEXCEPT override
 

Detailed Description

An invalid argument

Definition at line 33 of file exceptn.h.

Constructor & Destructor Documentation

◆ Invalid_Argument() [1/2]

Botan::Invalid_Argument::Invalid_Argument ( const std::string &  msg)
explicit

Definition at line 18 of file exceptn.cpp.

18  :
19  Exception("Invalid argument", msg)
20  {}
Exception(const char *prefix, const std::string &msg)
Definition: exceptn.cpp:14

◆ Invalid_Argument() [2/2]

Botan::Invalid_Argument::Invalid_Argument ( const std::string &  msg,
const std::string &  where 
)
explicit

Definition at line 22 of file exceptn.cpp.

22  :
23  Exception("Invalid argument", msg + " in " + where)
24  {}
Exception(const char *prefix, const std::string &msg)
Definition: exceptn.cpp:14

Member Function Documentation

◆ what()

const char* Botan::Exception::what ( ) const
inlineoverrideinherited

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