Computer Assited Medical Intervention Tool Kit  version 5.0
PMLAbortException Class Reference

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

#include <PMLAbortException.h>

+ Inheritance diagram for PMLAbortException:
+ Collaboration diagram for PMLAbortException:

Public Member Functions

 PMLAbortException (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...
 
 ~PMLAbortException ()=default
 

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

◆ ~PMLAbortException()

PMLAbortException::~PMLAbortException ( )
default

Member Function Documentation

◆ what()

const char* PMLAbortException::what ( ) const
inlinenoexcept

get the detailed reason from the exception

Referenced by PMLComponent::PMLComponent().

+ Here is the caller graph for this function:

Member Data Documentation

◆ reason

std::string PMLAbortException::reason
private

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