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

#include <exception.h>

Inheritance diagram for psi::SystemError:
psi::PsiException

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Exception for system errors. Those that report via errno

Constructor & Destructor Documentation

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

Constructor

Parameters
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 ( )
throw (
)
virtual

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