The exception thrown when the association between uploader and downloader is not 1:1. More...
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... | |
UploaderDownloaderAssociationNotUniqueException & | operator= (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
|
inline |
Constructor.
- Parameters
-
errorType the type of error
Definition at line 293 of file utilitiesexceptions.h.
|
inline |
Copy constructor.
- Parameters
-
other the exception to copy
Definition at line 313 of file utilitiesexceptions.h.
|
inlinevirtual |
Destructor.
Definition at line 343 of file utilitiesexceptions.h.
Member Function Documentation
|
inline |
Returns the type of error.
- Returns
- the type of error
Definition at line 362 of file utilitiesexceptions.h.
|
inline |
Copy operator.
- Parameters
-
other the exception to copy
Definition at line 326 of file utilitiesexceptions.h.
|
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:
- utilities/include/utilitiesexceptions.h