Botan  2.1.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Lookup_Error Struct 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

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

Definition at line 73 of file exceptn.h.

73  :
74  Exception(err)
75  {}
Exception(const std::string &msg)
Definition: exceptn.h:24
Botan::Lookup_Error::Lookup_Error ( const std::string &  type,
const std::string &  algo,
const std::string &  provider 
)
inline

Definition at line 77 of file exceptn.h.

79  :
80  Exception("Unavailable " + type + " " + algo +
81  (provider.empty() ? std::string("") : (" for provider " + provider)))
82  {}
Exception(const std::string &msg)
Definition: exceptn.h:24
MechanismType type

Member Function Documentation

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

The documentation for this struct was generated from the following file: