Botan  2.4.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 130 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 84 of file asn1_obj.cpp.

84  :
85  BER_Decoding_Error(str + ": " + std::to_string(tag)) {}
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:108
BER_Decoding_Error(const std::string &)
Definition: asn1_obj.cpp:81

◆ 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 87 of file asn1_obj.cpp.

88  :
89  BER_Decoding_Error(str + ": " + std::to_string(tag1) + "/" + std::to_string(tag2)) {}
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:108
BER_Decoding_Error(const std::string &)
Definition: asn1_obj.cpp:81

Member Function Documentation

◆ what()

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

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