Exceptions

This section describes the exception classes thrown by Imebra.

The ExceptionManager allows to retrieve the stack trace related to the last thrown Imebra exception.

ExceptionsManager

class ExceptionsManager

Return the stack trace for the last exception thrown in the current thread.

Public Static Functions

static std::string getExceptionTrace()

Return a message containing the stack trace for the last exception thrown in the current thread.

Return
a message containing the stack trace

MissingDataElementError

class MissingDataElementError : public std::runtime_error

Base class for the exceptions that report a missing element (Image, Tag, group, etc).

Subclassed by imebra::MissingBufferError, imebra::MissingGroupError, imebra::MissingItemError, imebra::MissingTagError

Public Functions

MissingDataElementError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

MissingGroupError

class MissingGroupError : public imebra::MissingDataElementError

This exception is thrown when the client tries to read a tag from a group that does not exist.

Public Functions

MissingGroupError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

MissingTagError

class MissingTagError : public imebra::MissingDataElementError

This exception is thrown when the client tries to read a value from a tag that does not exist (inside an existing group).

Public Functions

MissingTagError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

MissingBufferError

class MissingBufferError : public imebra::MissingDataElementError

This exception is thrown when the client tries to read a value from a buffer that does not exist (inside an existing tag).

Public Functions

MissingBufferError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

MissingItemError

class MissingItemError : public imebra::MissingDataElementError

This exception is thrown when the client tries to read a value from an element that does not exist (inside an existing buffer).

Public Functions

MissingItemError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamError

class StreamError : public std::runtime_error

The base exception for all the exceptions thrown by the function in baseStream.

Subclassed by imebra::StreamCloseError, imebra::StreamEOFError, imebra::StreamJpegTagInStreamError, imebra::StreamOpenError, imebra::StreamReadError, imebra::StreamWriteError

Public Functions

StreamError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamOpenError

class StreamOpenError : public imebra::StreamError

Exception thrown when the stream cannot be open.

Subclassed by imebra::TCPAddressAlreadyInUse, imebra::TCPConnectionRefused

Public Functions

StreamOpenError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamReadError

class StreamReadError : public imebra::StreamError

Exception thrown when there is an error during the read phase.

Public Functions

StreamReadError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamWriteError

class StreamWriteError : public imebra::StreamError

Exception thrown when there is an error during the write phase.

Public Functions

StreamWriteError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamCloseError

class StreamCloseError : public imebra::StreamError

Exception thrown when there are problems while closing of the stream.

Public Functions

StreamCloseError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamClosedError

class StreamClosedError : public imebra::StreamEOFError

Exception thrown when a stream has been closed.

Public Functions

StreamClosedError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

TCPError

Warning

doxygenclass: Cannot find class “imebra::TCPError” in doxygen xml output for project “imebra” from directory: ./doxygen_xml/

TCPConnectionRefused

class TCPConnectionRefused : public imebra::StreamOpenError

The peer refused the attempted connection.

TCPAddressAlreadyInUse

class TCPAddressAlreadyInUse : public imebra::StreamOpenError

The specified address is already in use by another socket.

PermissionDeniedError

class PermissionDeniedError : public std::runtime_error

The application does not have the permissions to carry out the operation.

AddressError

class AddressError : public std::runtime_error

Base class for the exceptions thrown by TCPAddress.

Subclassed by imebra::AddressNoNameError, imebra::AddressServiceNotSupportedError, imebra::AddressTryAgainError

Public Functions

AddressError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AddressTryAgainError

class AddressTryAgainError : public imebra::AddressError

Exception thrown by TCPAddress when a temporary malfunction prevented the address resolution. Trying again may cancel the error condition.

Public Functions

AddressTryAgainError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AddressNoNameError

class AddressNoNameError : public imebra::AddressError

Exception thrown by TCPAddress when the name cannot be resolved.

Public Functions

AddressNoNameError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AddressServiceNotSupportedError

class AddressServiceNotSupportedError : public imebra::AddressError

Exception thrown by TCPAddress when the specified service is not supported.

Public Functions

AddressServiceNotSupportedError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DictionaryError

class DictionaryError : public std::runtime_error

Base class for the exceptions thrown by the DicomDictionary.

Subclassed by imebra::DictionaryUnknownDataTypeError, imebra::DictionaryUnknownTagError

Public Functions

DictionaryError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DictionaryUnknownTagError

class DictionaryUnknownTagError : public imebra::DictionaryError

This exception is thrown by the DicomDictionary when it must return information for a tag that the DICOM standard does not define.

Public Functions

DictionaryUnknownTagError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DictionaryUnknownDataTypeError

class DictionaryUnknownDataTypeError : public imebra::DictionaryError

This exception is thrown by the DicomDictionary when it must return information for a VR (data type) that the DICOM standard does not define.

Public Functions

DictionaryUnknownDataTypeError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CharsetConversionError

class CharsetConversionError : public std::runtime_error

Base class for the exceptions thrown by charsetConversion.

Subclassed by imebra::CharsetConversionNoSupportedTableError, imebra::CharsetConversionNoTableError, imebra::CharsetListDiffDefaultError

Public Functions

CharsetConversionError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CharsetConversionNoTableError

class CharsetConversionNoTableError : public imebra::CharsetConversionError

Exception thrown when the requested charset is not supported by the DICOM standard.

Public Functions

CharsetConversionNoTableError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CharsetConversionNoSupportedTableError

class CharsetConversionNoSupportedTableError : public imebra::CharsetConversionError

Exception thrown when the requested charset is not supported by the system.

Public Functions

CharsetConversionNoSupportedTableError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CharsetListDiffDefaultError

class CharsetListDiffDefaultError : public imebra::CharsetConversionError

This exception is thrown when a conversion from an unicode string causes the dicom dataSet to change its default charset.

For instace, the default charset is ISO IR 6 but a value written by the application in one tag causes the default charset to switch to ISO 2022 IR 100.

Public Functions

CharsetListDiffDefaultError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CodecError

class CodecError : public std::runtime_error

This is the base class for the exceptions thrown by the codec derived classes.

Subclassed by imebra::CodecCorruptedFileError, imebra::CodecImageTooBigError, imebra::CodecWrongFormatError, imebra::CodecWrongTransferSyntaxError, imebra::DicomCodecError, imebra::InvalidSequenceItemError, imebra::JpegCodecError

Public Functions

CodecError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CodecWrongFormatError

class CodecWrongFormatError : public imebra::CodecError

This exception is thrown when the file being parsed is not valid for the codec.

Public Functions

CodecWrongFormatError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CodecCorruptedFileError

class CodecCorruptedFileError : public imebra::CodecError

This exception is thrown when the file being parsed is corrupted.

Public Functions

CodecCorruptedFileError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CodecWrongTransferSyntaxError

class CodecWrongTransferSyntaxError : public imebra::CodecError

This exception is thrown when the transfer syntax is not recognized by the codec.

Public Functions

CodecWrongTransferSyntaxError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

CodecImageTooBigError

class CodecImageTooBigError : public imebra::CodecError

This exception is thrown when the codec reads a file that contains an image that is too big according to the codecFactory settings.

Consider using CodecFactory::setMaximumImageSize() to change the allowed maximum image size.

Public Functions

CodecImageTooBigError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

InvalidSequenceItemError

class InvalidSequenceItemError : public imebra::CodecError

This exception is thrown when the codec is attempting to create a sequence with an incompatible data type.

Public Functions

InvalidSequenceItemError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataHandlerError

class DataHandlerError : public std::runtime_error

Base class for the exceptions thrown by the data handlers.

Subclassed by imebra::DataHandlerConversionError, imebra::DataHandlerCorruptedBufferError, imebra::DataHandlerInvalidDataError

Public Functions

DataHandlerError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataHandlerConversionError

class DataHandlerConversionError : public imebra::DataHandlerError

This exception is thrown when a data handler cannot convert a value from one data type to a different data type.

Public Functions

DataHandlerConversionError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataHandlerCorruptedBufferError

class DataHandlerCorruptedBufferError : public imebra::DataHandlerError

This exception is thrown when the data handler’s content is corrupted.

Public Functions

DataHandlerCorruptedBufferError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataHandlerInvalidDataError

class DataHandlerInvalidDataError : public imebra::DataHandlerError

This exception is thrown when the client tries to write invalid data into a data handler.

Public Functions

DataHandlerInvalidDataError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetError

class DataSetError : public std::runtime_error

This is the base class for the exceptions thrown by the dataSet.

Subclassed by imebra::DataSetCorruptedOffsetTableError, imebra::DataSetDifferentFormatError, imebra::DataSetImageDoesntExistError, imebra::DataSetImagePaletteColorIsReadOnly, imebra::DataSetOldFormatError, imebra::DataSetUnknownTransferSyntaxError, imebra::DataSetWrongFrameError

Public Functions

DataSetError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetDifferentFormatError

class DataSetDifferentFormatError : public imebra::DataSetError

This exception is thrown when the application is trying to store an image in the dataSet but the dataSet already stores other images that have different attributes.

Public Functions

DataSetDifferentFormatError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetUnknownTransferSyntaxError

class DataSetUnknownTransferSyntaxError : public imebra::DataSetError

This exception is thrown when an unknown transfer syntax is being used while reading or writing a stream.

Public Functions

DataSetUnknownTransferSyntaxError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetWrongFrameError

class DataSetWrongFrameError : public imebra::DataSetError

This exception is thrown when the application is storing several images in the dataSet but doesn’t store them in the right order.

The application must store the images following the frame order, without skipping frames.

Public Functions

DataSetWrongFrameError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetOldFormatError

class DataSetOldFormatError : public imebra::DataSetError

This exception is thrown when the application is trying to store an image in an old Dicom format.

The application cannot store images in old Dicom formats (before Dicom3).

Public Functions

DataSetOldFormatError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetImageDoesntExistError

class DataSetImageDoesntExistError : public imebra::DataSetError

This exception is thrown when the an image that doesn’t exist is requested.

Public Functions

DataSetImageDoesntExistError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetImagePaletteColorIsReadOnly

class DataSetImagePaletteColorIsReadOnly : public imebra::DataSetError

This exception is thrown when the the client tries to store a palette color image into the dataset.

Public Functions

DataSetImagePaletteColorIsReadOnly(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DataSetCorruptedOffsetTableError

class DataSetCorruptedOffsetTableError : public imebra::DataSetError

This exception is thrown when the basic offset table is corrupted.

Public Functions

DataSetCorruptedOffsetTableError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DicomDirError

class DicomDirError : public std::runtime_error

Base class from which the exceptions thrown by DicomDirEntry and DicomDir classes.

Subclassed by imebra::DicomDirCircularReferenceError, imebra::DicomDirUnknownDirectoryRecordTypeError

Public Functions

DicomDirError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DicomDirCircularReferenceError

class DicomDirCircularReferenceError : public imebra::DicomDirError

This exception is thrown when a call to DicomDir::setFirstRootRecord() or DicomDirEntry::setNextRecord() or DicomDirEntry::setFirstChildRecord() causes a circular reference between DicomDirEntry objects.

Public Functions

DicomDirCircularReferenceError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DicomDirUnknownDirectoryRecordTypeError

class DicomDirUnknownDirectoryRecordTypeError : public imebra::DicomDirError

Exception thrown when an unknown record type is detected in a DicomDirEntry.

Public Functions

DicomDirUnknownDirectoryRecordTypeError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

HuffmanError

class HuffmanError : public std::runtime_error

Base class for the exceptions thrown by the Huffman codec.

Subclassed by imebra::HuffmanCreateTableError, imebra::HuffmanReadError, imebra::HuffmanWriteError

Public Functions

HuffmanError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

HuffmanCreateTableError

class HuffmanCreateTableError : public imebra::HuffmanError

Exception thrown when the Huffman codec cannot create the Huffman codes.

Public Functions

HuffmanCreateTableError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

HuffmanReadError

class HuffmanReadError : public imebra::HuffmanError

Exception thrown when the Huffman codec tries to read an invalid code.

Public Functions

HuffmanReadError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

HuffmanWriteError

class HuffmanWriteError : public imebra::HuffmanError

Exception thrown when the Huffman codec tries to write an invalid code.

Public Functions

HuffmanWriteError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ImageError

class ImageError : public std::runtime_error

This is the base class for the exceptions thrown by the Image class.

Subclassed by imebra::ImageInvalidSizeError, imebra::ImageUnknownColorSpaceError, imebra::ImageUnknownDepthError

Public Functions

ImageError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ImageUnknownDepthError

class ImageUnknownDepthError : public imebra::ImageError

This exception is thrown when an unknown depth is specified as a parameter.

Public Functions

ImageUnknownDepthError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ImageUnknownColorSpaceError

class ImageUnknownColorSpaceError : public imebra::ImageError

This exception is thrown when an unknown color space is specified in the function create().

Public Functions

ImageUnknownColorSpaceError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ImageInvalidSizeError

class ImageInvalidSizeError : public imebra::ImageError

This exception is thrown when an invalid size in pixels is specified in the Image constructor.

Public Functions

ImageInvalidSizeError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

TransformError

class TransformError : public std::runtime_error

Base class for the exceptions thrown by the transforms.

Subclassed by imebra::ColorTransformError, imebra::ColorTransformsFactoryError, imebra::ModalityVOILUTError, imebra::TransformDifferentHighBitError, imebra::TransformHighBitError, imebra::TransformInvalidAreaError

Public Functions

TransformError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

TransformInvalidAreaError

class TransformInvalidAreaError : public imebra::TransformError

Exception thrown when the image areas to be processed are out of bounds.

Public Functions

TransformInvalidAreaError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

TransformDifferentHighBitError

class TransformDifferentHighBitError : public imebra::TransformError

Exception thrown when a Transform cannot process images with different high bit.

Public Functions

TransformDifferentHighBitError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ColorTransformError

class ColorTransformError : public imebra::TransformError

This is the base class for the exceptions thrown by the color transform classes.

Subclassed by imebra::ColorTransformWrongColorSpaceError

Public Functions

ColorTransformError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ColorTransformWrongColorSpaceError

class ColorTransformWrongColorSpaceError : public imebra::ColorTransformError

This exception is thrown when a color transform must convert between two color spaces that it does not support.

Public Functions

ColorTransformWrongColorSpaceError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ColorTransformsFactoryError

class ColorTransformsFactoryError : public imebra::TransformError

This is the base class for the exceptions thrown by colorTransformsFactory.

Subclassed by imebra::ColorTransformsFactoryNoTransformError

Public Functions

ColorTransformsFactoryError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ColorTransformsFactoryNoTransformError

class ColorTransformsFactoryNoTransformError : public imebra::ColorTransformsFactoryError

This exception is thrown by the function ColorTransformsFactory::getTransform() when it cannot find any transform that can convert the specified color spaces.

Public Functions

ColorTransformsFactoryNoTransformError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

TransformHighBitError

class TransformHighBitError : public imebra::TransformError

Subclassed by imebra::TransformHighBitDifferentColorSpacesError

Public Functions

TransformHighBitError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

TransformHighBitDifferentColorSpacesError

class TransformHighBitDifferentColorSpacesError : public imebra::TransformHighBitError

Public Functions

TransformHighBitDifferentColorSpacesError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamEOFError

class StreamEOFError : public imebra::StreamError

Exception thrown when an attempt to read past the end of the file is made.

Subclassed by imebra::StreamClosedError

Public Functions

StreamEOFError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

StreamJpegTagInStreamError

class StreamJpegTagInStreamError : public imebra::StreamError

Exception thrown when a jpeg tag is found but wasn’t expected.

Public Functions

StreamJpegTagInStreamError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ModalityVOILUTError

class ModalityVOILUTError : public imebra::TransformError

This exception is thrown by modalityVOILUT when the images passed to the transform are not monochromatic.

Public Functions

ModalityVOILUTError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DicomCodecError

class DicomCodecError : public imebra::CodecError

This is the base class for the exceptions thrown by the dicom codec (dicomCodec).

Subclassed by imebra::DicomCodecDepthLimitReachedError

Public Functions

DicomCodecError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

DicomCodecDepthLimitReachedError

class DicomCodecDepthLimitReachedError : public imebra::DicomCodecError

This exception is thrown when dicomCodec::parseStream reaches the maximum depth for embedded datasets.

Public Functions

DicomCodecDepthLimitReachedError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

JpegCodecError

class JpegCodecError : public imebra::CodecError

Base class for the exceptions thrown by the jpeg codec.

Subclassed by imebra::JpegCodecCannotHandleSyntaxError

Public Functions

JpegCodecError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

JpegCodecCannotHandleSyntaxError

class JpegCodecCannotHandleSyntaxError : public imebra::JpegCodecError

Exception thrown when the jpeg variant cannot be handled.

Public Functions

JpegCodecCannotHandleSyntaxError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

ImebraBadAlloc

class ImebraBadAlloc : public std::bad_alloc

MemoryError

class MemoryError : public std::runtime_error

Base exception for errors in ReadMemory and ReadWriteMemory.

Subclassed by imebra::MemorySizeError

Public Functions

MemoryError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

MemorySizeError

class MemorySizeError : public imebra::MemoryError

Exception throw when the memory size is too small for the requested operation.

Public Functions

MemorySizeError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

LutError

class LutError : public std::runtime_error

This is the base class for the exceptions thrown by the LUT class.

Subclassed by imebra::LutCorruptedError

Public Functions

LutError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

LutCorruptedError

class LutCorruptedError : public imebra::LutError

This exception is thrown by the lut class when the the LUT information is corrupted.

Public Functions

LutCorruptedError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AcseError

class AcseError : public std::runtime_error

Exception thrown by the ACSE services (negotiation).

Subclassed by imebra::AcseCorruptedMessageError, imebra::AcseNoPayloadError, imebra::AcseNoTransferSyntaxError, imebra::AcsePresentationContextNotRequestedError, imebra::AcseRejectedAssociationError, imebra::AcseTooManyOperationsInvokedError, imebra::AcseTooManyOperationsPerformedError, imebra::AcseWrongIdError, imebra::AcseWrongRoleError

Public Functions

AcseError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AcseCorruptedMessageError

class AcseCorruptedMessageError : public imebra::AcseError

Exception thrown by the ACSE services when an ACSE message is corrupted.

Public Functions

AcseCorruptedMessageError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AcseNoTransferSyntaxError

class AcseNoTransferSyntaxError : public imebra::AcseError

Exception thrown when no transfer syntax was negotiated for a presentation context.

AcsePresentationContextNotRequestedError

class AcsePresentationContextNotRequestedError : public imebra::AcseError

Exception thrown by the ACSE services when the message’s presentation context was not requested during the association negotiation.

Public Functions

AcsePresentationContextNotRequestedError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AcseWrongRoleError

class AcseWrongRoleError : public imebra::AcseError

Exception thrown by the ACSE services when a command is sent to a destination that cannot accept it.

Public Functions

AcseWrongRoleError(const std::string &message)

Constructor.

Parameters
  • message: the message to store into the exception

AcseWrongIdError

class AcseWrongIdError : public imebra::AcseError

Base class for the exception related to a wrong message ID.

Subclassed by imebra::AcseWrongCommandIdError, imebra::AcseWrongResponseIdError

AcseWrongResponseIdError

class AcseWrongResponseIdError : public imebra::AcseWrongIdError

Exception thrown when a response ID is related to a command that has already been responded to or was never sent.

AcseWrongCommandIdError

class AcseWrongCommandIdError : public imebra::AcseWrongIdError

Exception thrown when a command has a wrong message ID.

AcseRejectedAssociationError

class AcseRejectedAssociationError : public imebra::AcseError

Base class for the association rejection exceptions.

Subclassed by imebra::AcseSCPAcseProtocolVersionNotSupportedError, imebra::AcseSCPNoReasonGivenError, imebra::AcseSCPPresentationLocalLimitExcededError, imebra::AcseSCPPresentationReservedError, imebra::AcseSCPPresentationTemporaryCongestionError, imebra::AcseSCUApplicationContextNameNotSupportedError, imebra::AcseSCUCalledAETNotRecognizedError, imebra::AcseSCUCallingAETNotRecognizedError, imebra::AcseSCUNoReasonGivenError

Public Functions

bool isPermanent() const

Returns true if the rejection is permanent.

Return
true if the rejection is permanent, false otherwise

bool isTemporary() const

Returns true if the rejection is temporary.

Return
true if the rejection is temporary, false otherwise

AcseSCUNoReasonGivenError

class AcseSCUNoReasonGivenError : public imebra::AcseRejectedAssociationError

Generic exception thrown when the association is rejected.

AcseSCUApplicationContextNameNotSupportedError

class AcseSCUApplicationContextNameNotSupportedError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected because the application context name is not supported.

AcseSCUCallingAETNotRecognizedError

class AcseSCUCallingAETNotRecognizedError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected because the calling AE title is not recognized.

AcseSCUCalledAETNotRecognizedError

class AcseSCUCalledAETNotRecognizedError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected because the called AE title is not recognized.

AcseSCPNoReasonGivenError

class AcseSCPNoReasonGivenError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected by the SCP without any particular reason given.

AcseSCPAcseProtocolVersionNotSupportedError

class AcseSCPAcseProtocolVersionNotSupportedError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected by the SCP because it does not support the requested protocol version.

AcseSCPPresentationReservedError

class AcseSCPPresentationReservedError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected by the SCP because the selected presentation context is reserved.

AcseSCPPresentationTemporaryCongestionError

class AcseSCPPresentationTemporaryCongestionError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected by the SCP because there is a temporary congestion.

AcseSCPPresentationLocalLimitExcededError

class AcseSCPPresentationLocalLimitExcededError : public imebra::AcseRejectedAssociationError

Exception thrown when the association is rejected by the SCP because is out of resources.

AcseTooManyOperationsPerformedError

class AcseTooManyOperationsPerformedError : public imebra::AcseError

Exception thrown when too many simultaneous operations have been requested.

AcseTooManyOperationsInvokedError

class AcseTooManyOperationsInvokedError : public imebra::AcseError

Exception thrown when too many simultaneous operations have been invoked.

AcseNoPayloadError

class AcseNoPayloadError : public imebra::AcseError

Exception thrown when a command does not have a payload but it should have one.

DimseError

class DimseError : public std::runtime_error

Base class for the exceptions thrown by the DIMSE services.

Subclassed by imebra::DimseInvalidCommand

DimseInvalidCommand

class DimseInvalidCommand : public imebra::DimseError

Exception thrown when a DIMSE command cannot be validated.