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();
67 virtual void raise()
const;
77 #endif // CTKCMDLINEMODULERUNEXCEPTION_H Exception class to describe problems with running the module.
ctkException & operator=(const ctkException &o)
Assignment operator.
virtual const char * className() const
Returns the class name for this exception.
virtual const char * name() const
Returns the name for this exception.
The base class for all exceptions defined in CTK.
virtual ctkException * clone() const
Creates a copy of this exception. Use rethrow() to throw the copy again.
virtual void rethrow() const
(Re)Throws this exception.