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 | |
Private Attributes | |
std::string | reason |
Exception class to handle abortion in component instantiation.
Particularly useful to handle constructor's abortion.
|
inline |
default constructor: give the reason for the exception
References reason.
|
default |
|
inlinenoexcept |
get the detailed reason from the exception
References reason.
Referenced by camitk::Application::open(), ItkImageComponentExtension::open(), and camitk::Application::openDirectory().
|
private |
Referenced by AbortException(), and what().