CppCommon  1.0.4.1
C++ Common Library
Public Member Functions | List of all members
CppCommon::SecurityException Class Reference

Security exception. More...

#include <exceptions.h>

Inheritance diagram for CppCommon::SecurityException:
CppCommon::Exception

Public Member Functions

 Exception (const std::string &message="")
 Default class constructor. More...
 
 Exception (const Exception &)=default
 
 Exception (Exception &&)=default
 
- Public Member Functions inherited from CppCommon::Exception
 Exception (const std::string &message="")
 Default class constructor. More...
 
 Exception (const Exception &)=default
 
 Exception (Exception &&)=default
 
virtual ~Exception ()=default
 
Exceptionoperator= (const Exception &)=default
 
Exceptionoperator= (Exception &&)=default
 
const std::string & message () const noexcept
 Get exception message. More...
 
const SourceLocationlocation () const noexcept
 Get exception location. More...
 
const char * what () const noexcept override
 Get string identifying exception. More...
 
virtual std::string string () const
 Get string from the current exception. More...
 

Additional Inherited Members

- Protected Attributes inherited from CppCommon::Exception
std::string _cache
 Cached exception string. More...
 
std::string _message
 Exception message. More...
 
SourceLocation _location
 Exception location. More...
 

Detailed Description

Security exception.

Definition at line 99 of file exceptions.h.

Member Function Documentation

◆ Exception() [1/3]

CppCommon::Exception::Exception
default

◆ Exception() [2/3]

CppCommon::Exception::Exception
inlineexplicit

Default class constructor.

Parameters
message- Exception message (default is "")

Definition at line 40 of file exceptions.h.

◆ Exception() [3/3]

CppCommon::Exception::Exception
default

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