Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
Public Member Functions | Protected Member Functions | List of all members
libdar::Enet_auth Class Reference

exception used to report authentication error More...

#include <erreurs.hpp>

+ Inheritance diagram for libdar::Enet_auth:
+ Collaboration diagram for libdar::Enet_auth:

Public Member Functions

 Enet_auth (const std::string &message)
 
 Enet_auth (const Enet_auth &ref)=default
 
 Enet_auth (Enet_auth &&ref)=default
 
Enet_authoperator= (const Enet_auth &ref)=default
 
Enet_authoperator= (Enet_auth &&ref)=default
 
- Public Member Functions inherited from libdar::Egeneric
 Egeneric (const std::string &source, const std::string &message)
 the constructor
 
 Egeneric (const Egeneric &ref)=default
 copy constructor
 
 Egeneric (Egeneric &&ref)=default
 move constructor
 
Egenericoperator= (const Egeneric &ref)=default
 assignment operator
 
Egenericoperator= (Egeneric &&ref) noexcept=default
 move operator
 
virtual ~Egeneric ()=default
 the destructor
 
void stack (const std::string &passage, const std::string &message="")
 add more detailed couple of information to the exception More...
 
void stack (const std::string &&passage, const std::string &&message="")
 
const std::string & get_message () const
 get the message explaing the nature of the exception More...
 
const std::string & get_source () const
 get the call function which has thrown this exception More...
 
const std::string & find_object (const std::string &location) const
 retrieve the objet (object) associated to a given "lieu" (location) from the stack More...
 
void prepend_message (const std::string &context)
 prepend error message by the given string
 
std::string dump_str () const
 return a string result of the exception information dump
 

Protected Member Functions

virtual std::string exceptionID () const override
 
virtual std::string exceptionID () const =0
 

Detailed Description

exception used to report authentication error

Definition at line 434 of file erreurs.hpp.

Constructor & Destructor Documentation

◆ Enet_auth()

libdar::Enet_auth::Enet_auth ( const std::string &  message)
inline

Definition at line 437 of file erreurs.hpp.

Member Function Documentation

◆ exceptionID()

virtual std::string libdar::Enet_auth::exceptionID ( ) const
inlineoverrideprotectedvirtual

Implements libdar::Egeneric.

Definition at line 445 of file erreurs.hpp.


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