HepMC Reference Documentation

HepMC

HepMC::IO_Exception Class Reference

IO exception handling. More...

#include <IO_Exception.h>

Inheritance diagram for HepMC::IO_Exception:

List of all members.

Public Types

 OK
 NullEvent
 WrongFileType
 MissingStartKey
 EndOfStream
 EndKeyMismatch
 MissingEndKey
 InvalidData
 InputAndOutput
 BadOutputStream
 BadInputStream
enum  ErrorType {
  OK, NullEvent, WrongFileType, MissingStartKey,
  EndOfStream, EndKeyMismatch, MissingEndKey, InvalidData,
  InputAndOutput, BadOutputStream, BadInputStream
}
 IO error types. More...

Public Member Functions

 IO_Exception (const std::string &msg)

Detailed Description

IO exception handling.

IO_GenEvent, etc. catch the throw and set data members with the error type and message Some of the messages are constructed with transient information (e.g., contents of a bad GenParticle)

Examples:

testStreamIO.cc.in.

Definition at line 28 of file IO_Exception.h.


Member Enumeration Documentation

enum HepMC::IO_Exception::ErrorType

IO error types.

Enumerator:
OK 
NullEvent 
WrongFileType 
MissingStartKey 
EndOfStream 
EndKeyMismatch 
MissingEndKey 
InvalidData 
InputAndOutput 
BadOutputStream 
BadInputStream 

Definition at line 34 of file IO_Exception.h.


Constructor & Destructor Documentation

HepMC::IO_Exception::IO_Exception ( const std::string &  msg  )  [inline]

Definition at line 30 of file IO_Exception.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 7 13:10:19 2010 for HepMC by  doxygen 1.4.7