Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
camitk::AbortException Class Reference

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

#include <AbortException.h>

+ Inheritance diagram for camitk::AbortException:

Public Member Functions

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

Private Attributes

std::string reason
 

Detailed Description

Exception class to handle abortion in component instanciation.

Particularly useful to handle constructor's abortion.

Constructor & Destructor Documentation

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

default constructor: give the reason for the exception

References reason.

virtual camitk::AbortException::~AbortException ( )
throw (
)
inlinevirtual

Member Function Documentation

virtual const char* camitk::AbortException::what ( )
inlinevirtual

get the detailed reason from the exception

References reason.

Member Data Documentation

std::string camitk::AbortException::reason
private

Referenced by AbortException(), and what().


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