CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdError_FileException Class Reference

#include <RxSystemServices.h>

Inheritance diagram for OdError_FileException:
OdError OdError_CantOpenFile OdError_FileNotFound OdError_FileWriteError

Public Member Functions

 OdError_FileException (OdResult code, const OdString &filename, const OdString &extended=OdString::kEmpty)
 
OdString getFileName () const
 
- Public Member Functions inherited from OdError
void setContext (OdErrorContext *pErrorContext)
 
const OdErrorContextcontext () const
 
OdErrorContextcontext ()
 
 OdError (OdResult code)
 
 OdError (const OdError &source)
 
 OdError (OdErrorContext *pErrorContext)
 
 OdError (const OdString &errorMessage)
 
 OdError (const OdString &errorMessage, const OdError &previousError)
 
 ~OdError ()
 
OdErroroperator= (const OdError &source)
 
OdResult code () const
 
OdString description () const
 
void attachPreviousError (const OdError &previousError)
 
 FX_DECLARE_CLANG_RTTI_EXCEPTION_WORKAROUND ()
 

Detailed Description

This class implements OdError objects with access to the Result codes and filenames of the objects related to the errors.

Corresponding C++ library: TD_Root <group Error_Classes>

Definition at line 89 of file RxSystemServices.h.

Constructor & Destructor Documentation

◆ OdError_FileException()

OdError_FileException::OdError_FileException ( OdResult  code,
const OdString filename,
const OdString extended = OdString::kEmpty 
)
Parameters
code[in] Result code.
filename[in] Filename.

Member Function Documentation

◆ getFileName()

OdString OdError_FileException::getFileName ( ) const

Returns the filename of this Error object.


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