Botan  2.8.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Pipe::Invalid_Message_Number Class Referencefinal

#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 41 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 48 of file pipe.h.

48  :
49  Invalid_Argument("Pipe::" + where + ": Invalid message number " +
50  std::to_string(msg))
51  {}
Invalid_Argument(const std::string &msg)
Definition: exceptn.cpp:22
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:210

Member Function Documentation

◆ what()

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

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