Public Member Functions | List of all members
psi::SystemError Class Reference

#include <exception.h>

Inheritance diagram for psi::SystemError:

Public Member Functions

 SystemError (int eno, const char *file, int line) noexcept
 ~SystemError () noexceptoverride
- Public Member Functions inherited from psi::PsiException
 PsiException (std::string message, const char *file, int line) noexcept
 PsiException (const PsiException &copy) noexcept
 ~PsiException () noexceptoverride
PsiExceptionoperator= (const PsiException &other)
const char * what () const noexceptoverride
const char * file () const noexcept
const char * location () const noexcept
int line () const noexcept

Additional Inherited Members

- Protected Member Functions inherited from psi::PsiException
void rewrite_msg (std::string msg) noexcept

Detailed Description

Exception for system errors. Those that report via errno

Constructor & Destructor Documentation

psi::SystemError::SystemError ( int  eno,
const char *  file,
int  line 


enoThe errno that will be printed by exception
fileThe file that threw the exception (use FILE macro)
lineThe line number that threw the exception (use LINE macro)
psi::SystemError::~SystemError ( )

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