EMAN::_InvalidValueException Class Reference

Used when an invalid integer value is given. More...

#include <exception.h>

Inheritance diagram for EMAN::_InvalidValueException:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

template<class T>
 _InvalidValueException (T val, const string &file="unknown", int line=0, const string &desc_str="")
const char * name () const
 The name of this E2Exception class.

Detailed Description

Used when an invalid integer value is given.

Parameters: 1. val The invalid integer value. 2. desc Description of the situation.

Definition at line 277 of file exception.h.


Constructor & Destructor Documentation

template<class T>
EMAN::_InvalidValueException::_InvalidValueException ( val,
const string &  file = "unknown",
int  line = 0,
const string &  desc_str = "" 
) [inline]

Definition at line 281 of file exception.h.

References EMAN::E2Exception::objname.

00283                         : E2Exception(file, line, desc_str)
00284                 {
00285                         stringstream ss;
00286                         ss << val;
00287                         objname = ss.str();
00288                 }


Member Function Documentation

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

The name of this E2Exception class.

Returns:
The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 289 of file exception.h.

00289 { return "InvalidValueException"; }


The documentation for this class was generated from the following file:
Generated on Tue Jun 11 12:43:09 2013 for EMAN2 by  doxygen 1.4.7