Botan  2.0.1
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Pipe::Invalid_Message_Number Struct Reference

#include <pipe.h>

Inheritance diagram for Botan::Pipe::Invalid_Message_Number:
Botan::Invalid_Argument Botan::Exception

Public Member Functions

 Invalid_Message_Number (const std::string &where, message_id msg)
const char * what () const BOTAN_NOEXCEPT override

Detailed Description

Exception if you use an invalid message as an argument to read, remaining, etc

Definition at line 39 of file pipe.h.

Constructor & Destructor Documentation

◆ Invalid_Message_Number()

Botan::Pipe::Invalid_Message_Number::Invalid_Message_Number ( const std::string &  where,
message_id  msg 
wherethe error occurred
msgthe invalid message id that was used

Definition at line 45 of file pipe.h.

45  :
46  Invalid_Argument("Pipe::" + where + ": Invalid message number " +
47  std::to_string(msg))
48  {}
Invalid_Argument(const std::string &msg)
Definition: exceptn.h:37
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:47

Member Function Documentation

◆ what()

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

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