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

#include <exceptn.h>

Inheritance diagram for Botan::Decoding_Error:
Botan::Invalid_Argument Botan::Exception Botan::BER_Decoding_Error Botan::Invalid_OID Botan::PKCS8_Exception Botan::BER_Bad_Tag

Public Member Functions

 Decoding_Error (const std::string &name)
 
 Decoding_Error (const std::string &name, const char *exception_message)
 
const char * what () const BOTAN_NOEXCEPT override
 

Detailed Description

Decoding_Error Exception

Definition at line 178 of file exceptn.h.

Constructor & Destructor Documentation

◆ Decoding_Error() [1/2]

Botan::Decoding_Error::Decoding_Error ( const std::string &  name)
explicit

Definition at line 78 of file exceptn.cpp.

78  :
79  Invalid_Argument("Decoding error: " + name)
80  {}
Invalid_Argument(const std::string &msg)
Definition: exceptn.cpp:18

◆ Decoding_Error() [2/2]

Botan::Decoding_Error::Decoding_Error ( const std::string &  name,
const char *  exception_message 
)

Definition at line 82 of file exceptn.cpp.

82  :
83  Invalid_Argument("Decoding error: " + name + " failed with exception " + exception_message) {}
Invalid_Argument(const std::string &msg)
Definition: exceptn.cpp:18

Member Function Documentation

◆ what()

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

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