Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
odil::Exception Class Reference

Base class for odil exceptions. More...

#include <Exception.h>

Inheritance diagram for odil::Exception:
Collaboration diagram for odil::Exception:

Public Member Functions

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

Protected Attributes

std::string _message
 Message of the exception.

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:
  • /build/reproducible-path/odil-0.13.0/src/odil/Exception.h