Computer Assisted Medical Intervention Tool Kit  version 5.1
camitk::AbortException Class Reference

Exception class to handle abortion in component instantiation. More...

#include <AbortException.h>

Public Member Functions

 AbortException (std::string s)
 default constructor: give the reason for the exception More...
 
const char * what () const noexcept
 get the detailed reason from the exception More...
 
 ~AbortException ()=default
 

Detailed Description

Exception class to handle abortion in component instantiation.

Particularly useful to handle constructor's abortion.

Constructor & Destructor Documentation

◆ AbortException()

camitk::AbortException::AbortException ( std::string  s)
inline

default constructor: give the reason for the exception

◆ ~AbortException()

camitk::AbortException::~AbortException ( )
default

Member Function Documentation

◆ what()

const char * camitk::AbortException::what ( ) const
inlinenoexcept

get the detailed reason from the exception

Referenced by camitk::Application::open(), ItkImageComponentExtension::open(), and camitk::Application::openDirectory().


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