CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkUnsupportedOperationException Class Reference

#include <Libs/Core/ctkException.h>

Inheritance diagram for ctkUnsupportedOperationException:
Inheritance graph
[legend]
Collaboration diagram for ctkUnsupportedOperationException:
Collaboration graph
[legend]

Public Member Functions

ctkUnsupportedOperationExceptionclone () const
 Creates a copy of this exception. Use rethrow() to throw the copy again. More...
 
 ctkUnsupportedOperationException (const ctkUnsupportedOperationException &exc)
 
 ctkUnsupportedOperationException (const QString &msg)
 
 ctkUnsupportedOperationException (const QString &msg, const ctkException &exc)
 
const char * name () const throw ()
 Returns the name for this exception. More...
 
ctkUnsupportedOperationExceptionoperator= (const ctkUnsupportedOperationException &exc)
 
void rethrow () const
 (Re)Throws this exception. More...
 
 ~ ctkUnsupportedOperationException () throw ()
 
- Public Member Functions inherited from ctkException
const ctkExceptioncause () const throw ()
 Gets the nested exception which caused this exception. More...
 
virtual const char * className () const throw ()
 Returns the class name for 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...
 
ctkExceptionoperator= (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 ()
 
- Public Member Functions inherited from ctkBackTrace
 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 Public Attributes inherited from ctkBackTrace
static size_t const DefaultStackSize
 
- Protected Member Functions inherited from ctkException
virtual QDebug printStackTrace (QDebug dbg) const
 Print the stack trace of this exception using the given QDebug object. More...
 

Detailed Description

Definition at line 246 of file ctkException.h.

Constructor & Destructor Documentation

◆ ctkUnsupportedOperationException() [1/3]

ctkUnsupportedOperationException::ctkUnsupportedOperationException ( const QString &  msg)
explicit

◆ ctkUnsupportedOperationException() [2/3]

ctkUnsupportedOperationException::ctkUnsupportedOperationException ( const QString &  msg,
const ctkException exc 
)

◆ ctkUnsupportedOperationException() [3/3]

ctkUnsupportedOperationException::ctkUnsupportedOperationException ( const ctkUnsupportedOperationException exc)

◆ ~ ctkUnsupportedOperationException()

ctkUnsupportedOperationException::~ ctkUnsupportedOperationException ( )
throw (
)

Member Function Documentation

◆ clone()

ctkUnsupportedOperationException* ctkUnsupportedOperationException::clone ( ) const
virtual

Creates a copy of this exception. Use rethrow() to throw the copy again.

Returns
A copy of this exception.

Reimplemented from ctkException.

◆ name()

const char* ctkUnsupportedOperationException::name ( ) const
throw (
)
virtual

Returns the name for this exception.

Returns
The exception name.

Reimplemented from ctkException.

◆ operator=()

ctkUnsupportedOperationException& ctkUnsupportedOperationException::operator= ( const ctkUnsupportedOperationException exc)

◆ rethrow()

void ctkUnsupportedOperationException::rethrow ( ) const
virtual

(Re)Throws this exception.

Reimplemented from ctkException.


The documentation for this class was generated from the following file: