SysTutorials

Linux Manual Pages › Section 3

sc_syscallfailed(3)

sc::SyscallFailed –

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

Synopsis


#include <scexception.h>

Inherits sc::SystemException.

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.
int err () const   throw ()

Detailed Description

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

Member Function Documentation

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.

Author

Generated automatically by Doxygen for MPQC from the source code.