// $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 TGO4TASKHANDLERABORTEXCEPTION_H #define TGO4TASKHANDLERABORTEXCEPTION_H #include "TGo4TaskHandlerException.h" class TGo4TaskHandler; class TGo4TaskHandlerRunnable; /** Abort exception * @ingroup go4_taskhandler */ class TGo4TaskHandlerAbortException : public TGo4TaskHandlerException { public: TGo4TaskHandlerAbortException() = delete; /** * Exception to Disconnect client belonging to taskhandler from server task (servermode) * or shut down the client task (clientmode) */ TGo4TaskHandlerAbortException (TGo4TaskHandler *taskhandler); /** * ctor to call exception from within a taskhandler runnable; * will find out taskhandler from runnable */ TGo4TaskHandlerAbortException(TGo4TaskHandlerRunnable *run); virtual ~TGo4TaskHandlerAbortException(); Int_t Handle() override; }; #endif //TGO4TASKHANDLERABORTEXCEPTION_H