#include <exception.h>
Inheritance diagram for EMAN::_FileAccessException:
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. |
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.
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.
00187 : E2Exception(file, line, desc_str, filename_str) 00188 { 00189 desc = "cannot access file '" + filename_str + "'"; 00190 }
const char* EMAN::_FileAccessException::name | ( | ) | const [inline, virtual] |
The name of this E2Exception class.
Reimplemented from EMAN::E2Exception.
Definition at line 192 of file exception.h.