Public Member Functions
EMAN::_FileAccessException Class Reference

Used when a file access error occurs. More...

#include <exception.h>

Inheritance diagram for EMAN::_FileAccessException:
Inheritance graph
Collaboration diagram for EMAN::_FileAccessException:
Collaboration graph

List of all members.

Public Member Functions

 _FileAccessException (const string &filename_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 a file access error occurs.

For example, when you try to open a non-existing file or directory. Parameters: 1. filename The name of the file with access error.

Definition at line 182 of file exception.h.

Constructor & Destructor Documentation

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

Definition at line 185 of file exception.h.

References EMAN::E2Exception::desc.

                        : E2Exception(file, line, desc_str, filename_str)
                        desc = "cannot access file '" + filename_str + "'";

Member Function Documentation

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

The name of this E2Exception class.

The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 192 of file exception.h.

{ return "FileAccessException"; }

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