Computer Assited Medical Intervention Tool Kit  version 4.0
Public Member Functions | Private Attributes | List of all members
PMLAbortException Class Reference

Exception class to handle abortion in the xmlReading Particularly useful to handle constructor's abortion. More...

#include <PMLAbortException.h>

Inherits std::exception.

Public Member Functions

 PMLAbortException (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 ~PMLAbortException () throw ()
 

Private Attributes

std::string reason
 

Detailed Description

Exception class to handle abortion in the xmlReading Particularly useful to handle constructor's abortion.

Constructor & Destructor Documentation

◆ PMLAbortException()

PMLAbortException::PMLAbortException ( std::string  s)
inline

default constructor: give the reason for the exception

References reason.

◆ ~PMLAbortException()

virtual PMLAbortException::~PMLAbortException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ what()

virtual const char* PMLAbortException::what ( )
inlinevirtual

get the detailed reason from the exception

References reason.

Referenced by PMLComponent::PMLComponent().

Member Data Documentation

◆ reason

std::string PMLAbortException::reason
private

Referenced by PMLAbortException(), and what().


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