StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
HepMC::IO_Exception Class Reference

IO exception handling. More...

#include <IO_Exception.h>

Inheritance diagram for HepMC::IO_Exception:

Public Types

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

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)

Definition at line 28 of file IO_Exception.h.

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