Botan 1.10.17
Botan::TLS_Exception Class Reference

#include <tls_exceptn.h>

Inheritance diagram for Botan::TLS_Exception:
Botan::Unexpected_Message

Public Member Functions

 TLS_Exception (Alert_Type type, const std::string &err_msg="Unknown error")
Alert_Type type () const throw ()

Detailed Description

Exception Base Class

Definition at line 19 of file tls_exceptn.h.

Constructor & Destructor Documentation

◆ TLS_Exception()

Botan::TLS_Exception::TLS_Exception ( Alert_Type type,
const std::string & err_msg = "Unknown error" )
inline

Definition at line 24 of file tls_exceptn.h.

25 :
26 Exception(err_msg), alert_type(type) {}
Alert_Type type() const
Definition tls_exceptn.h:22
std::runtime_error Exception
Definition exceptn.h:19

References type().

Referenced by Botan::Record_Reader::get_record(), Botan::Server_Hello::Server_Hello(), Botan::Unexpected_Message::Unexpected_Message(), and Botan::TLS_Client::write().

Member Function Documentation

◆ type()

Alert_Type Botan::TLS_Exception::type ( ) const
throw ( )
inline

Definition at line 22 of file tls_exceptn.h.

22{ return alert_type; }

Referenced by TLS_Exception().


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