Botan  2.7.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 93 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 37 of file exceptn.cpp.

37  :
38  Invalid_Argument(name + " cannot accept a key of length " +
39  std::to_string(length))
40  {}
Invalid_Argument(const std::string &msg)
Definition: exceptn.cpp:18
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:210

Member Function Documentation

◆ what()

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

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