Botan  1.11.10
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:

Public Member Functions

 Invalid_Message_Number (const std::string &where, message_id msg)
 

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

Botan::Pipe::Invalid_Message_Number::Invalid_Message_Number ( const std::string &  where,
message_id  msg 
)
inline
Parameters
wherethe error occured
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  {}
std::invalid_argument Invalid_Argument
Definition: exceptn.h:20
std::string to_string(const BER_Object &obj)
Definition: asn1_obj.cpp:46

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