Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
sc::FileOperationFailed(3)	     MPQC	    sc::FileOperationFailed(3)

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

SYNOPSIS
       #include	<scexception.h>

       Inherits	sc::SystemException.

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

   Public Member Functions
       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 ()

       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().
       const char * description	() const  throw	()
       const char * file () const  throw ()
       int line	() const  throw	()
       const ClassDesc * class_desc () const  throw ()
       const char * exception_type () const  throw ()
       std::ostream & elaborate	()
	   Returns a stream where addition information about the exception can
	   be written.

Detailed Description
       This is thrown when an operation	on a file fails.

Member Function	Documentation
   const char *	sc::FileOperationFailed::filename () const [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.

Version	2.3.1			Tue May	13 2025	    sc::FileOperationFailed(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sc_FileOperationFailed&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help