MPQC  2.3.1
Public Member Functions | List of all members
sc::SyscallFailed Class Reference

This is thrown when an system call fails with an errno. More...

#include <scexception.h>

Inheritance diagram for sc::SyscallFailed:
Inheritance graph
[legend]
Collaboration diagram for sc::SyscallFailed:
Collaboration graph
[legend]

Public Member Functions

 SyscallFailed (const char *description=0, const char *source_file=0, int line=0, const char *syscall=0, int err=0, const ClassDesc *class_desc=0, const char *exception_type="SyscallFailed") throw ()
 
 SyscallFailed (const SyscallFailed &) throw ()
 
const char * syscall () const throw ()
 Returns the file name of the file that caused the error, if known. More...
 
int err () const throw ()
 
- Public Member Functions inherited from sc::SystemException
 SystemException (const char *description=0, const char *file=0, int line=0, const ClassDesc *class_desc=0, const char *exception_type="SystemException") throw ()
 
 SystemException (const SystemException &) throw ()
 
- Public Member Functions inherited from sc::SCException
 SCException (const char *description=0, const char *file=0, int line=0, const ClassDesc *class_desc=0, const char *exception_type="SCException") throw ()
 
 SCException (const SCException &) throw ()
 
const char * what () const throw ()
 Reimplementation of std::exception::what(). More...
 
const char * description () const throw ()
 
const char * file () const throw ()
 
int line () const throw ()
 
const ClassDescclass_desc () const throw ()
 
const char * exception_type () const throw ()
 
std::ostream & elaborate ()
 Returns a stream where addition information about the exception can be written. More...
 

Detailed Description

This is thrown when an system call fails with an errno.

Member Function Documentation

◆ syscall()

const char* sc::SyscallFailed::syscall ( ) const
throw (
)
inline

Returns the file name of the file that caused the error, if known.

Otherwise 0 is returned.


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

Generated at Sun Jan 26 2020 23:33:09 for MPQC 2.3.1 using the documentation package Doxygen 1.8.16.