22#ifndef CTKCMDLINEMODULERUNEXCEPTION_H
23#define CTKCMDLINEMODULERUNEXCEPTION_H
25#include "ctkCommandLineModulesCoreExport.h"
29#if (QT_VERSION < 0x50000)
32#include <QtConcurrent>
47 const QString& errorString);
58 QUrl location() const throw();
59 int errorCode() const throw();
60 QString errorString() const throw();
62 virtual const
char* name() const throw();
63 virtual const
char* className() const throw();
65 virtual
void rethrow() const;
67 virtual
void raise() const;
Exception class to describe problems with running the module.
ctkCmdLineModuleRunException(const QUrl &location, int errorCode, const QString &errorString, const ctkCmdLineModuleRunException &cause)
ctkCmdLineModuleRunException(const ctkCmdLineModuleRunException &o)
~ctkCmdLineModuleRunException()
ctkCmdLineModuleRunException(const QUrl &location, int errorCode, const QString &errorString)
ctkCmdLineModuleRunException & operator=(const ctkCmdLineModuleRunException &o)
The base class for all exceptions defined in CTK.