UploaderDownloaderAssociationNotUniqueException Class Reference

The exception thrown when the association between uploader and downloader is not 1:1. More...

Inheritance diagram for UploaderDownloaderAssociationNotUniqueException:

Public Types

enum  ErrorType { DownloaderAlreadyAssociated, UploaderAlreadyAssociated }
 The possible types of error. More...
 

Public Member Functions

 UploaderDownloaderAssociationNotUniqueException (ErrorType errorType) throw ()
 Constructor. More...
 
 UploaderDownloaderAssociationNotUniqueException (const UploaderDownloaderAssociationNotUniqueException &other) throw ()
 Copy constructor. More...
 
virtual ~UploaderDownloaderAssociationNotUniqueException () throw ()
 Destructor. More...
 
ErrorType errorType () const throw ()
 Returns the type of error. More...
 
UploaderDownloaderAssociationNotUniqueExceptionoperator= (const UploaderDownloaderAssociationNotUniqueException &other) throw ()
 Copy operator. More...
 
virtual const char * what () const throw ()
 Returns a C string describing the exception. More...
 

Detailed Description

The exception thrown when the association between uploader and downloader is not 1:1.

Definition at line 272 of file utilitiesexceptions.h.

Member Enumeration Documentation

enum ErrorType

The possible types of error.

Enumerator
DownloaderAlreadyAssociated 

The downloader is already associated with another uploader

UploaderAlreadyAssociated 

The uploader is already associated with another downloader

Definition at line 278 of file utilitiesexceptions.h.

Constructor & Destructor Documentation

Constructor.

Parameters
errorTypethe type of error

Definition at line 293 of file utilitiesexceptions.h.

Copy constructor.

Parameters
otherthe exception to copy

Definition at line 313 of file utilitiesexceptions.h.

virtual ~UploaderDownloaderAssociationNotUniqueException ( )
throw (
)
inlinevirtual

Destructor.

Definition at line 343 of file utilitiesexceptions.h.

Member Function Documentation

ErrorType errorType ( ) const
throw (
)
inline

Returns the type of error.

Returns
the type of error

Definition at line 362 of file utilitiesexceptions.h.

Copy operator.

Parameters
otherthe exception to copy

Definition at line 326 of file utilitiesexceptions.h.

virtual const char* what ( ) const
throw (
)
inlinevirtual

Returns a C string describing the exception.

Returns
a C string describing the exception

Definition at line 352 of file utilitiesexceptions.h.


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