ATLAS Offline Software
ByteStreamExceptions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BYTESTREAMCNVSVC_BYTESTREAMEXCEPTIONS_H
6 #define BYTESTREAMCNVSVC_BYTESTREAMEXCEPTIONS_H
7 
12 // EXCEPTIONS
14 {
16  {
17  virtual const char* what() const throw() {
18  return "Problem accessing file";
19  }
20  };
21  class readError
22  {
23  virtual const char* what() const throw() {
24  return "Problem during DataReader getData";
25  }
26  };
28  {
29  virtual const char* what() const throw() {
30  return "Unable to build RawEvent, fragment does not match known formats.";
31  }
32  };
34  {
35  virtual const char* what() const throw() {
36  return "RawEvent does not pass validation";
37  }
38  };
39 }
40 #endif
ByteStreamExceptions::readError::what
virtual const char * what() const
Definition: ByteStreamExceptions.h:23
ByteStreamExceptions::readError
Definition: ByteStreamExceptions.h:22
ByteStreamExceptions::badFragmentData::what
virtual const char * what() const
Definition: ByteStreamExceptions.h:35
ByteStreamExceptions::fileAccessError::what
virtual const char * what() const
Definition: ByteStreamExceptions.h:17
ByteStreamExceptions::badFragmentData
Definition: ByteStreamExceptions.h:34
ByteStreamExceptions::fileAccessError
Definition: ByteStreamExceptions.h:16
ByteStreamExceptions::badFragment
Definition: ByteStreamExceptions.h:28
ByteStreamExceptions::badFragment::what
virtual const char * what() const
Definition: ByteStreamExceptions.h:29
ByteStreamExceptions
Definition: ByteStreamExceptions.h:14