plugin  2.1.3
Runtime plugin loader and Ed25519 DSO signing for C++ applications
fedem::exception::SignatureRejected Class Reference

#include <DSOExceptions.hh>

+ Inheritance diagram for fedem::exception::SignatureRejected:
+ Collaboration diagram for fedem::exception::SignatureRejected:

Public Member Functions

 SignatureRejected (std::string const &soPath, std::string const &reason) noexcept
 
std::string whatStr () const noexcept override
 
std::string const & soPath () const noexcept
 
std::string const & reason () const noexcept
 
- Public Member Functions inherited from fedem::exception::Exception
 Exception () noexcept
 
 Exception (Exception const &) noexcept
 
 ~Exception () noexcept override
 
Exceptionoperator= (Exception const &) noexcept
 
virtual std::string const description () const noexcept
 
char const * what () const noexcept override
 
std::string filename () const noexcept
 
void filename (std::string const &fname) noexcept
 
unsigned long lineNumber () const noexcept
 
void lineNumber (unsigned long lineNo) noexcept
 

Private Attributes

std::string soPath_
 
std::string reason_
 

Detailed Description

Thrown by DSOLoader::loadVerified() when the DSO's trust level is below the required minimum (REJECTED, UNKNOWN, or UNSIGNED depending on the minTrust parameter).

Constructor & Destructor Documentation

◆ SignatureRejected()

fedem::exception::SignatureRejected::SignatureRejected ( std::string const &  soPath,
std::string const &  reason 
)
inlinenoexcept

Member Function Documentation

◆ whatStr()

std::string fedem::exception::SignatureRejected::whatStr ( ) const
inlineoverridevirtualnoexcept

Returns the exception message as a string (pure virtual).

Implements fedem::exception::Exception.

◆ soPath()

std::string const& fedem::exception::SignatureRejected::soPath ( ) const
inlinenoexcept

◆ reason()

std::string const& fedem::exception::SignatureRejected::reason ( ) const
inlinenoexcept

Member Data Documentation

◆ soPath_

std::string fedem::exception::SignatureRejected::soPath_
private

◆ reason_

std::string fedem::exception::SignatureRejected::reason_
private

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