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

#include <SCP.h>

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

Public Member Functions

 Exception (std::string const &message, Value::Integer status, std::shared_ptr< DataSet > status_fields={})
 Constructor. More...
 
virtual ~Exception () noexcept
 Destructor. More...
 
- Public Member Functions inherited from odil::Exception
 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...
 

Public Attributes

Value::Integer status
 Status to be sent back to user. More...
 
std::shared_ptr< DataSetstatus_fields
 Status detail fields (e.g. offending element). More...
 

Additional Inherited Members

- Protected Attributes inherited from odil::Exception
std::string _message
 Message of the exception. More...
 

Constructor & Destructor Documentation

◆ Exception()

odil::SCP::Exception::Exception ( std::string const &  message,
Value::Integer  status,
std::shared_ptr< DataSet status_fields = {} 
)

Constructor.

◆ ~Exception()

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

Destructor.

Reimplemented from odil::Exception.

Member Data Documentation

◆ status

Value::Integer odil::SCP::Exception::status

Status to be sent back to user.

◆ status_fields

std::shared_ptr<DataSet> odil::SCP::Exception::status_fields

Status detail fields (e.g. offending element).


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