EMAN2
Public Member Functions | List of all members
EMAN::_ImageReadException Class Reference

Used when an error occurs at image reading time. More...

#include <exception.h>

Inheritance diagram for EMAN::_ImageReadException:
Inheritance graph
[legend]
Collaboration diagram for EMAN::_ImageReadException:
Collaboration graph
[legend]

Public Member Functions

 _ImageReadException (const string &imagename, const string &file="unknown", int line=0, const string &desc_str="")
 
const char * name () const
 The name of this E2Exception class. More...
 
- Public Member Functions inherited from EMAN::E2Exception
 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...
 

Additional Inherited Members

- Protected Attributes inherited from EMAN::E2Exception
string filename
 
int linenum
 
string desc
 
string objname
 

Detailed Description

Used when an error occurs at image reading time.

Parameters:

  1. imagename The name of image with writing error.
  2. desc The description of the situation.

Definition at line 194 of file exception.h.

Constructor & Destructor Documentation

◆ _ImageReadException()

EMAN::_ImageReadException::_ImageReadException ( const string &  imagename,
const string &  file = "unknown",
int  line = 0,
const string &  desc_str = "" 
)
inline

Definition at line 197 of file exception.h.

199 : E2Exception(file, line, desc_str, imagename) {}
E2Exception(const string &file="", int line=0, const string &desc_str="", const string &objname_str="")
Contructor.
Definition: exception.h:77

Member Function Documentation

◆ name()

const char * EMAN::_ImageReadException::name ( ) const
inlinevirtual

The name of this E2Exception class.

Returns
The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 201 of file exception.h.

201{ return "ImageReadException"; }

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