EMAN2
Public Member Functions
EMAN::_ImageDimensionException Class Reference

Used when an image is not in the expected dimension. More...

#include <exception.h>

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

List of all members.

Public Member Functions

 _ImageDimensionException (const string &desc_str, const string &file="unknown", int line=0)
const char * name () const
 The name of this E2Exception class.

Detailed Description

Used when an image is not in the expected dimension.

For example, a 2D image is given when a 3D image is expected. Also, when the image is complex as opposed to real (d.woolford). Parameters: 1. desc The description of the situation.

Definition at line 164 of file exception.h.


Constructor & Destructor Documentation

EMAN::_ImageDimensionException::_ImageDimensionException ( const string &  desc_str,
const string &  file = "unknown",
int  line = 0 
) [inline]

Definition at line 167 of file exception.h.

                        : E2Exception(file, line, desc_str) {}

Member Function Documentation

const char* EMAN::_ImageDimensionException::name ( ) const [inline, virtual]

The name of this E2Exception class.

Returns:
The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 171 of file exception.h.

{ return "ImageDimensionException"; }

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