CMS 3D CMS Logo

List of all members | Public Member Functions
npstat::NpstatException Struct Reference

#include <NpstatException.h>

Inheritance diagram for npstat::NpstatException:
cms::Exception npstat::NpstatDomainError npstat::NpstatInvalidArgument npstat::NpstatOutOfRange npstat::NpstatRuntimeError

Public Member Functions

 NpstatException ()
 
 NpstatException (const std::string &description)
 
 NpstatException (const char *description)
 
 ~NpstatException () override throw ()
 
- Public Member Functions inherited from cms::Exception
void addAdditionalInfo (std::string const &info)
 
void addAdditionalInfo (char const *info)
 
void addContext (std::string const &context)
 
void addContext (char const *context)
 
std::list< std::string > const & additionalInfo () const
 
bool alreadyPrinted () const
 
void append (Exception const &another)
 
void append (std::string const &more_information)
 
void append (char const *more_information)
 
std::string const & category () const
 
void clearAdditionalInfo ()
 
void clearContext ()
 
void clearMessage ()
 
virtual Exceptionclone () const
 
std::list< std::string > const & context () const
 
 Exception (std::string const &aCategory)
 
 Exception (char const *aCategory)
 
 Exception (std::string const &aCategory, std::string const &message)
 
 Exception (char const *aCategory, std::string const &message)
 
 Exception (std::string const &aCategory, char const *message)
 
 Exception (char const *aCategory, char const *message)
 
 Exception (std::string const &aCategory, std::string const &message, Exception const &another)
 
 Exception (Exception const &other)
 
virtual std::string explainSelf () const
 
template<typename... Args>
void format (fmt::format_string< Args... > format, Args &&... args)
 
std::list< std::string > history () const
 
std::string message () const
 
Exceptionoperator= (Exception const &other)
 
void raise ()
 
int returnCode () const
 
void setAdditionalInfo (std::list< std::string > const &info)
 
void setAlreadyPrinted ()
 
void setContext (std::list< std::string > const &context)
 
void swap (Exception &other)
 
void vformat (std::string_view fmt, fmt::format_args args)
 
char const * what () const noexcept override
 
 ~Exception () noexcept override
 

Detailed Description

Base class for the exceptions specific to the npstat namespace

Definition at line 20 of file NpstatException.h.

Constructor & Destructor Documentation

◆ NpstatException() [1/3]

npstat::NpstatException::NpstatException ( )
inline

Definition at line 21 of file NpstatException.h.

21 : cms::Exception("npstat::NpstatException") {}

◆ NpstatException() [2/3]

npstat::NpstatException::NpstatException ( const std::string &  description)
inlineexplicit

◆ NpstatException() [3/3]

npstat::NpstatException::NpstatException ( const char *  description)
inlineexplicit

◆ ~NpstatException()

npstat::NpstatException::~NpstatException ( )
throw (
)
inlineoverride

Definition at line 27 of file NpstatException.h.

27 {}