// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #ifndef TGO4EVENTERROREXCEPTION_H #define TGO4EVENTERROREXCEPTION_H #include "TGo4EventSourceException.h" class TGo4EventSource; /** * @brief Exception to be thrown on error of event source. * @details Mbs Error codes/messages are accessible from exception. * @ingroup go4_event */ class TGo4EventErrorException : public TGo4EventSourceException { public: TGo4EventErrorException() = delete; TGo4EventErrorException (TGo4EventSource *eventsource, Int_t prio = 3); virtual ~TGo4EventErrorException(); TGo4EventErrorException(const TGo4EventErrorException &right); TGo4EventErrorException &operator=(const TGo4EventErrorException &right); Int_t GetPriority() const { return fiPriority; } private: /* priority of error. 0 means print information only */ Int_t fiPriority{0}; }; #endif //TGO4EVENTERROREXCEPTION_H