Mimotera::WrongFileSizeException Class Reference

Wrong input file size. More...

#include <mimotera++/MimoteraException.hh>

Inherits Mimotera::FileException.

Collaboration diagram for Mimotera::WrongFileSizeException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WrongFileSizeException (const std::string &msg)


Detailed Description

Wrong input file size.

The total event size is a very precise and fixed quantity. So the total file size has to be a integer multiple of this quantity, if not, it means that there is something wrong with this file and this exception is thrown.

Todo:
Think of a possible way to try at least to decode the first valid events before throwing this exception
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>
Examples:

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

Definition at line 281 of file MimoteraException.hh.


Constructor & Destructor Documentation

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

Definition at line 281 of file MimoteraException.hh.


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

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