EMAN2
Public Member Functions
EMAN::_InvalidStringException Class Reference

Used when an invalid (format) string is given. More...

#include <exception.h>

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

List of all members.

Public Member Functions

 _InvalidStringException (const string &str, 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 (format) string is given.

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

Definition at line 302 of file exception.h.


Constructor & Destructor Documentation

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

Definition at line 305 of file exception.h.

References EMAN::E2Exception::objname.

                        : E2Exception(file, line, desc_str)
                {
                        objname = str;
                }

Member Function Documentation

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

The name of this E2Exception class.

Returns:
The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 311 of file exception.h.

{ return "InvalidStringException"; }

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