Dangerous SNMP
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Exception Class Reference

This defines the base exception class for Dangerous SNMP. More...

#include <exception.hpp>

Inheritance diagram for Exception:
AuthenticationFailureException AuthenticationGenerationException DecryptionException EncryptionException InvalidTypeException ParseErrorException TimeoutException UnknownTransportException

Public Member Functions

 Exception (const char *text) noexcept
 Constructor. More...
 
 Exception (const std::string &text) noexcept
 Constructor. More...
 
virtual const char * what () const noexcept
 This returns the text for the exception. More...
 

Protected Attributes

std::string _text
 This is the exception text.
 

Detailed Description

This defines the base exception class for Dangerous SNMP.

Constructor & Destructor Documentation

Exception ( const char *  text)
explicitnoexcept

Constructor.

Parameters
textThe exception text.
Exception ( const std::string &  text)
explicitnoexcept

Constructor.

Parameters
textThe exception text.

Member Function Documentation

virtual const char* what ( ) const
virtualnoexcept

This returns the text for the exception.

Returns
The exception's text.

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