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