Public Member Functions
EMAN::_InvalidValueException Class Reference

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

#include <exception.h>

Inheritance diagram for EMAN::_InvalidValueException:
Inheritance graph
Collaboration diagram for EMAN::_InvalidValueException:
Collaboration graph

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.

                        : E2Exception(file, line, desc_str)
                        stringstream ss;
                        ss << val;
                        objname = ss.str();

Member Function Documentation

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

The name of this E2Exception class.

The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 289 of file exception.h.

{ return "InvalidValueException"; }

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