DOKK / manpages / debian 12 / libsc-doc / sc_FileOperationFailed.3.en
sc::FileOperationFailed(3) MPQC sc::FileOperationFailed(3)

sc::FileOperationFailed - This is thrown when an operation on a file fails.

#include <scexception.h>

Inherits sc::SystemException.


enum FileOperation { Unknown, OpenR, OpenW, OpenRW, Close, Read, Write, Corrupt, Other }


FileOperationFailed (const char *description=0, const char *source_file=0, int line=0, const char *filename=0, FileOperation operation=Unknown, const ClassDesc *class_desc=0, const char *exception_type='FileOperationFailed') throw ()
FileOperationFailed (const FileOperationFailed &) throw ()
const char * filename () const throw ()
Returns the file name of the file that caused the error, if known. FileOperation operation () const throw ()

This is thrown when an operation on a file fails.

Returns the file name of the file that caused the error, if known. Otherwise 0 is returned.

Generated automatically by Doxygen for MPQC from the source code.

Fri Dec 2 2022 Version 2.3.1