Medical Imaging Interaction Toolkit  2023.12.99-77685e7b
Medical Imaging Interaction Toolkit
mitk::TestNotRunException Class Reference

Specialized mitk::Exception for skipped tests. More...

#include <mitkTestNotRunException.h>

Inheritance diagram for mitk::TestNotRunException:
Collaboration diagram for mitk::TestNotRunException:

Public Member Functions

 mitkExceptionClassMacro (TestNotRunException, mitk::Exception)
 
- Public Member Functions inherited from mitk::Exception
 Exception (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 
 ~Exception () override throw ()
 
virtual const char * GetClassName () const
 
void AddRethrowData (const char *file, unsigned int lineNumber, const char *message)
 Adds rethrow data to this exception. More...
 
int GetNumberOfRethrows ()
 
void GetRethrowData (int rethrowNumber, std::string &file, int &line, std::string &message)
 
template<class T >
Exceptionoperator<< (const T &data)
 Definition of the bit shift operator for this class. More...
 
template<class T >
Exceptionoperator<< (T &data)
 Definition of the bit shift operator for this class (for non const data). More...
 
Exceptionoperator<< (std::ostream &(*func)(std::ostream &))
 Definition of the bit shift operator for this class (for functions). More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::Exception
std::vector< ReThrowDatam_RethrowData
 

Detailed Description

Specialized mitk::Exception for skipped tests.

Documentation If a test is unable to run due to circumstances that do not indicate a failure (such as a missing openGl for a rendering test) it should throw this exception.

Usage: mitkThrowException(mitk::TestNotRunException) << "optional reason for skip";

Definition at line 33 of file mitkTestNotRunException.h.

Member Function Documentation

◆ mitkExceptionClassMacro()

mitk::TestNotRunException::mitkExceptionClassMacro ( TestNotRunException  ,
mitk::Exception   
)

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