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

#include <tls_exceptn.h>

Inheritance diagram for Botan::TLS::Unexpected_Message:
Botan::TLS::TLS_Exception Botan::Exception

Public Member Functions

Alert::Type type () const
 Unexpected_Message (const std::string &err)
const char * what () const BOTAN_NOEXCEPT override

Detailed Description

Unexpected_Message Exception

Definition at line 37 of file tls_exceptn.h.

Constructor & Destructor Documentation

◆ Unexpected_Message()

Botan::TLS::Unexpected_Message::Unexpected_Message ( const std::string &  err)

Definition at line 40 of file tls_exceptn.h.

40  :
TLS_Exception(Alert::Type type, const std::string &err_msg="Unknown error")
Definition: tls_exceptn.h:26

Member Function Documentation

◆ type()

Alert::Type Botan::TLS::TLS_Exception::type ( ) const

Definition at line 24 of file tls_exceptn.h.

Referenced by Botan::TLS::Channel::received_data().

24 { return m_alert_type; }

◆ what()

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

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