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

#include <exceptn.h>

Inheritance diagram for Botan::Policy_Violation:
Botan::Invalid_State Botan::Exception

Public Member Functions

 Policy_Violation (const std::string &err)
 
const char * what () const BOTAN_NOEXCEPT override
 

Detailed Description

Policy_Violation Exception

Definition at line 123 of file exceptn.h.

Constructor & Destructor Documentation

◆ Policy_Violation()

Botan::Policy_Violation::Policy_Violation ( const std::string &  err)
explicit

Definition at line 51 of file exceptn.cpp.

51  :
52  Invalid_State("Policy violation: " + err) {}
Invalid_State(const std::string &err)
Definition: exceptn.h:62

Member Function Documentation

◆ what()

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

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