Botan  2.8.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Invalid_Key_Length Class Referencefinal

#include <exceptn.h>

Inheritance diagram for Botan::Invalid_Key_Length:
Botan::Invalid_Argument Botan::Exception

Public Member Functions

 Invalid_Key_Length (const std::string &name, size_t length)
 
const char * what () const BOTAN_NOEXCEPT override
 

Detailed Description

Invalid_Key_Length Exception

Definition at line 97 of file exceptn.h.

Constructor & Destructor Documentation

◆ Invalid_Key_Length()

Botan::Invalid_Key_Length::Invalid_Key_Length ( const std::string &  name,
size_t  length 
)

Definition at line 44 of file exceptn.cpp.

44  :
45  Invalid_Argument(name + " cannot accept a key of length " +
46  std::to_string(length))
47  {}
Invalid_Argument(const std::string &msg)
Definition: exceptn.cpp:22
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:210
std::string name

Member Function Documentation

◆ what()

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

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