EMAN2
|
E2Exception class is the parent class of all EMAN2 E2Exceptions. More...
#include <exception.h>
Public Member Functions | |
E2Exception (const string &file="", int line=0, const string &desc_str="", const string &objname_str="") | |
Contructor. More... | |
virtual | ~E2Exception () throw () |
virtual const char * | what () const throw () |
The E2Exception information. More... | |
virtual const char * | name () const |
The name of this E2Exception class. More... | |
Protected Attributes | |
string | filename |
int | linenum |
string | desc |
string | objname |
E2Exception class is the parent class of all EMAN2 E2Exceptions.
Definition at line 67 of file exception.h.
|
inlineexplicit |
Contructor.
file | The name of the file where an E2Exception is thrown. |
line | The line number in the file where the E2Exception is thrown. |
desc_str | E2Exception description string. |
objname_str | E2Exception involved object name. |
Definition at line 77 of file exception.h.
|
inlinevirtual |
Definition at line 91 of file exception.h.
|
inlinevirtual |
The name of this E2Exception class.
Reimplemented in EMAN::_NotExistingObjectException, EMAN::_ImageFormatException, EMAN::_ImageDimensionException, EMAN::_FileAccessException, EMAN::_ImageReadException, EMAN::_ImageWriteException, EMAN::_NullPointerException, EMAN::_TypeException, EMAN::_InvalidValueException, EMAN::_InvalidStringException, EMAN::_OutofRangeException, EMAN::_InvalidCallException, EMAN::_InvalidParameterException, EMAN::_EmptyContainerException, EMAN::_BadAllocException, and EMAN::_UnexpectedBehaviorException.
Definition at line 103 of file exception.h.
Referenced by what().
|
virtual |
The E2Exception information.
Definition at line 36 of file exception.cpp.
References desc, filename, EMAN::Util::int2str(), linenum, name(), and objname.
|
protected |
Definition at line 107 of file exception.h.
Referenced by EMAN::_FileAccessException::_FileAccessException(), EMAN::_OutofRangeException::_OutofRangeException(), and what().
|
protected |
Definition at line 105 of file exception.h.
Referenced by what().
|
protected |
Definition at line 106 of file exception.h.
Referenced by what().
|
protected |
Definition at line 108 of file exception.h.
Referenced by EMAN::_InvalidStringException::_InvalidStringException(), EMAN::_InvalidValueException::_InvalidValueException(), and what().