Xmipp  v3.23.11-Nereus
Public Member Functions | Public Attributes | List of all members
XmippError Class Reference

#include <xmipp_error.h>

Inheritance diagram for XmippError:
Inheritance graph
[legend]
Collaboration diagram for XmippError:
Collaboration graph
[legend]

Public Member Functions

 XmippError (const ErrorType nerr, const String &what, const String &fileArg, const long lineArg)
 
 XmippError (const std::string &what)
 

Public Attributes

ErrorType __errno
 

Detailed Description

Report error without any extra message Exception class

This is the class type for the errors thrown by the routines when the exception handling mode is active (see Xmipp Configuration for details about enabling the exception handling).

Definition at line 221 of file xmipp_error.h.

Constructor & Destructor Documentation

◆ XmippError() [1/2]

XmippError::XmippError ( const ErrorType  nerr,
const String what,
const String fileArg,
const long  lineArg 
)

Definition at line 32 of file xmipp_error.cpp.

34  :std::runtime_error(XmippError::getMessage(nerr, what, fileArg, lineArg)), __errno(nerr)
35 {}
ErrorType __errno
Definition: xmipp_error.h:227

◆ XmippError() [2/2]

XmippError::XmippError ( const std::string &  what)
inline

Definition at line 227 of file xmipp_error.h.

227 :XmippError(ERR_UNCLASSIFIED,what,"Unknown file",0) {};
Just to locate unclassified errors.
Definition: xmipp_error.h:192
XmippError(const ErrorType nerr, const String &what, const String &fileArg, const long lineArg)
Definition: xmipp_error.cpp:32

Member Data Documentation

◆ __errno

ErrorType XmippError::__errno

Definition at line 227 of file xmipp_error.h.


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