ctkCmdLineModuleRunException.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*===================================================================
  2. BlueBerry Platform
  3. Copyright (c) German Cancer Research Center,
  4. Division of Medical and Biological Informatics.
  5. All rights reserved.
  6. This software is distributed WITHOUT ANY WARRANTY; without
  7. even the implied warranty of MERCHANTABILITY or FITNESS FOR
  8. A PARTICULAR PURPOSE.
  9. See LICENSE.txt or http://www.mitk.org for details.
  10. ===================================================================*/
  11. #ifndef CTKCMDLINEMODULERUNEXCEPTION_H
  12. #define CTKCMDLINEMODULERUNEXCEPTION_H
  13. #include <ctkException.h>
  14. #include <QtCore>
  15. class ctkCmdLineModuleRunException : public QtConcurrent::Exception, public ctkException
  16. {
  17. public:
  18. explicit ctkCmdLineModuleRunException(const QString& msg);
  19. ctkCmdLineModuleRunException(const QString& msg, const ctkCmdLineModuleRunException& cause);
  20. ctkCmdLineModuleRunException(const ctkCmdLineModuleRunException& o);
  21. ctkCmdLineModuleRunException& operator=(const ctkCmdLineModuleRunException& o);
  22. ~ctkCmdLineModuleRunException() throw();
  23. virtual const char* name() const throw();
  24. virtual const char* className() const throw();
  25. virtual ctkCmdLineModuleRunException* clone() const;
  26. virtual void rethrow() const;
  27. virtual void raise() const;
  28. };
  29. #endif // CTKCMDLINEMODULERUNEXCEPTION_H