Mimotera::NotRegularFileException Class Reference

Not regular file. More...

#include <mimotera++/MimoteraException.hh>

Inherits Mimotera::FileException.

Collaboration diagram for Mimotera::NotRegularFileException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NotRegularFileException (const std::string &msg)


Detailed Description

Not regular file.

Asking the Mimotera::MimoteraReader to open a directory is quite meaningless. To protect against these cases, this exception is thrown whenever the user try to open any not regular file. An exception to the exception is the case for symbolic links: on *nix system links are dereferenced and the target object (if a regular file) is opened.

Todo:
Test the behavior on a Windows system.
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>
Examples:

examples/convert2ASCII.cxx, and examples/convert2ROOT.cxx.

Definition at line 249 of file MimoteraException.hh.


Constructor & Destructor Documentation

Mimotera::NotRegularFileException::NotRegularFileException ( const std::string &  msg  )  [inline]

Definition at line 249 of file MimoteraException.hh.


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

Generated on Fri Sep 18 19:15:45 2009 for Mimotera++ by  doxygen 1.5.7.1