Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EMAN::_FileAccessException Class Reference

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

#include <exception.h>

Inheritance diagram for EMAN::_FileAccessException:

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

Collaboration graph
[legend]
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.

00187                         : E2Exception(file, line, desc_str, filename_str)
00188                 {
00189                         desc = "cannot access file '" + filename_str + "'";
00190                 }


Member Function Documentation

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

The name of this E2Exception class.

Returns:
The name of this E2Exception class.

Reimplemented from EMAN::E2Exception.

Definition at line 192 of file exception.h.

00192 { return "FileAccessException"; }


The documentation for this class was generated from the following file:
Generated on Tue Jun 11 13:42:02 2013 for EMAN2 by  doxygen 1.3.9.1