Computer Assited Medical Intervention Tool Kit  version 4.1
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...
 
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

References reason, and ~PMLAbortException().

◆ ~PMLAbortException()

PMLAbortException::~PMLAbortException ( )
default

Referenced by PMLAbortException().

Member Function Documentation

◆ what()

const char* PMLAbortException::what ( ) const
inlinenoexcept

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: