![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Exception class to describe problems with timeouts when running a module. More...
#include <Libs/CommandLineModules/Core/ctkCmdLineModuleTimeoutException.h>
Public Member Functions | |
virtual const char * | className () const throw () |
Returns the class name for this exception. More... | |
virtual ctkCmdLineModuleTimeoutException * | clone () const |
Creates a copy of this exception. Use rethrow() to throw the copy again. More... | |
ctkCmdLineModuleTimeoutException (const QUrl &location, const QString &errorString) | |
ctkCmdLineModuleTimeoutException (const QUrl &location, const QString &errorString, const ctkCmdLineModuleRunException &cause) | |
virtual const char * | name () const throw () |
Returns the name for this exception. More... | |
virtual void | raise () const |
virtual void | rethrow () const |
(Re)Throws this exception. More... | |
~ctkCmdLineModuleTimeoutException () throw () | |
![]() | |
ctkCmdLineModuleRunException (const ctkCmdLineModuleRunException &o) | |
ctkCmdLineModuleRunException (const QUrl &location, int errorCode, const QString &errorString) | |
ctkCmdLineModuleRunException (const QUrl &location, int errorCode, const QString &errorString, const ctkCmdLineModuleRunException &cause) | |
int | errorCode () const throw () |
QString | errorString () const throw () |
QUrl | location () const throw () |
ctkCmdLineModuleRunException & | operator= (const ctkCmdLineModuleRunException &o) |
~ctkCmdLineModuleRunException () throw () | |
![]() | |
const ctkException * | cause () const throw () |
Gets the nested exception which caused this exception. More... | |
ctkException (const ctkException &o) | |
Copy constructor. More... | |
ctkException (const QString &msg) | |
Create a new ctkException. More... | |
ctkException (const QString &msg, const ctkException &cause) | |
Create a new ctkException containing another exception as the cause. More... | |
QString | message () const throw () |
Returns the detail message string of this exception. More... | |
ctkException & | operator= (const ctkException &o) |
Assignment operator. More... | |
TraceManipulator | printStackTrace () const |
Returns an object suitable for printing this executable and its backtrace via qDebug(). More... | |
void | setCause (const ctkException &cause) |
Sets the cause for this exception. More... | |
virtual const char * | what () const throw () |
Returns a static string describing this exception. More... | |
~ctkException () throw () | |
![]() | |
ctkBackTrace (const ctkBackTrace &other) | |
ctkBackTrace (size_t framesNumber=DefaultStackSize) | |
Create a back trace. More... | |
void * | returnAddress (unsigned frameNumber) const |
Get the return address for a given stack frame. More... | |
QString | stackFrame (unsigned frameNumber) const |
Get a textual representation for a given stack frame. More... | |
size_t | stackSize () const |
Get the stack size. More... | |
QList< QString > | stackTrace () const |
Provides programmatic access to the stack trace information. More... | |
virtual | ~ctkBackTrace () throw () |
Additional Inherited Members | |
![]() | |
static size_t const | DefaultStackSize |
![]() | |
virtual QDebug | printStackTrace (QDebug dbg) const |
Print the stack trace of this exception using the given QDebug object. More... | |
Exception class to describe problems with timeouts when running a module.
Definition at line 32 of file ctkCmdLineModuleTimeoutException.h.
|
explicit |
ctkCmdLineModuleTimeoutException::ctkCmdLineModuleTimeoutException | ( | const QUrl & | location, |
const QString & | errorString, | ||
const ctkCmdLineModuleRunException & | cause | ||
) |
ctkCmdLineModuleTimeoutException::~ctkCmdLineModuleTimeoutException | ( | ) | ||
throw | ( | |||
) |
|
virtual |
Returns the class name for this exception.
Reimplemented from ctkCmdLineModuleRunException.
|
virtual |
Creates a copy of this exception. Use rethrow() to throw the copy again.
Reimplemented from ctkCmdLineModuleRunException.
|
virtual |
Returns the name for this exception.
Reimplemented from ctkCmdLineModuleRunException.
|
virtual |
Reimplemented from ctkCmdLineModuleRunException.
|
virtual |
(Re)Throws this exception.
Reimplemented from ctkCmdLineModuleRunException.