odil
C++11libraryfortheDICOMstandard
Public Member Functions | List of all members
odil::AssociationRejected Struct Reference

Exception reported when an incoming association is rejected. More...

#include <AssociationAcceptor.h>

Inheritance diagram for odil::AssociationRejected:
odil::Exception

Public Member Functions

 AssociationRejected (unsigned char result, unsigned char source, unsigned char reason, std::string const &message="Association rejected")
 Constructor.
 
unsigned char get_result () const
 Return the rejection result.
 
void set_result (unsigned char value)
 Set the rejection result.
 
unsigned char get_source () const
 Return the rejection source.
 
void set_source (unsigned char value)
 Set the rejection source.
 
unsigned char get_reason () const
 Return the rejection reason.
 
void set_reason (unsigned char value)
 Set the rejection reason.
 
- Public Member Functions inherited from odil::Exception
 Exception (std::string const &message="")
 Message string constructor.
 
virtual ~Exception () noexcept
 Destructor.
 
virtual const char * what () const noexcept
 Return the reason for the exception.
 

Additional Inherited Members

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

Detailed Description

Exception reported when an incoming association is rejected.


The documentation for this struct was generated from the following files: