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

#include <asn1_obj.h>

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

Public Member Functions

 BER_Bad_Tag (const std::string &msg, ASN1_Tag tag)
 
 BER_Bad_Tag (const std::string &msg, ASN1_Tag tag1, ASN1_Tag tag2)
 
const char * what () const BOTAN_NOEXCEPT override
 

Detailed Description

Exception For Incorrect BER Taggings

Definition at line 182 of file asn1_obj.h.

Constructor & Destructor Documentation

◆ BER_Bad_Tag() [1/2]

Botan::BER_Bad_Tag::BER_Bad_Tag ( const std::string &  msg,
ASN1_Tag  tag 
)

Definition at line 180 of file asn1_obj.cpp.

180  :
181  BER_Decoding_Error(str + ": " + std::to_string(tag)) {}
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:210
BER_Decoding_Error(const std::string &)
Definition: asn1_obj.cpp:177

◆ BER_Bad_Tag() [2/2]

Botan::BER_Bad_Tag::BER_Bad_Tag ( const std::string &  msg,
ASN1_Tag  tag1,
ASN1_Tag  tag2 
)

Definition at line 183 of file asn1_obj.cpp.

184  :
185  BER_Decoding_Error(str + ": " + std::to_string(tag1) + "/" + std::to_string(tag2)) {}
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:210
BER_Decoding_Error(const std::string &)
Definition: asn1_obj.cpp:177

Member Function Documentation

◆ what()

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

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