Odil
A C++11 library for the DICOM standard
Public Member Functions | Protected Attributes | List of all members
odil::Exception Class Reference

Base class for odil exceptions. More...

#include <Exception.h>

Inheritance diagram for odil::Exception:
Inheritance graph
[legend]
Collaboration diagram for odil::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (std::string const &message="")
 Message string constructor. More...
 
virtual ~Exception () noexcept
 Destructor. More...
 
virtual const char * what () const noexcept
 Return the reason for the exception. More...
 

Protected Attributes

std::string _message
 Message of the exception. More...
 

Detailed Description

Base class for odil exceptions.

Constructor & Destructor Documentation

◆ Exception()

odil::Exception::Exception ( std::string const &  message = "")

Message string constructor.

◆ ~Exception()

virtual odil::Exception::~Exception ( )
virtualnoexcept

Destructor.

Reimplemented in odil::dcmtk::Exception, and odil::SCP::Exception.

Member Function Documentation

◆ what()

virtual const char * odil::Exception::what ( ) const
virtualnoexcept

Return the reason for the exception.

Reimplemented in odil::dcmtk::Exception.

Member Data Documentation

◆ _message

std::string odil::Exception::_message
protected

Message of the exception.


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