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

#include <exceptn.h>

Inheritance diagram for Botan::Lookup_Error:
Botan::Exception Botan::Algorithm_Not_Found Botan::Provider_Not_Found

Public Member Functions

 Lookup_Error (const std::string &err)
 
 Lookup_Error (const std::string &type, const std::string &algo, const std::string &provider)
 
const char * what () const BOTAN_NOEXCEPT override
 

Detailed Description

Lookup_Error Exception

Definition at line 71 of file exceptn.h.

Constructor & Destructor Documentation

◆ Lookup_Error() [1/2]

Botan::Lookup_Error::Lookup_Error ( const std::string &  err)
inlineexplicit

Definition at line 74 of file exceptn.h.

74 : Exception(err) {}
Exception(const char *prefix, const std::string &msg)
Definition: exceptn.cpp:14

◆ Lookup_Error() [2/2]

Botan::Lookup_Error::Lookup_Error ( const std::string &  type,
const std::string &  algo,
const std::string &  provider 
)

Definition at line 26 of file exceptn.cpp.

28  :
29  Exception("Unavailable " + type + " " + algo +
30  (provider.empty() ? std::string("") : (" for provider " + provider)))
31  {}
Exception(const char *prefix, const std::string &msg)
Definition: exceptn.cpp:14
MechanismType type

Member Function Documentation

◆ what()

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

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