Wyatt  1.0.1
Public Member Functions | List of all members
DuplicateHardwareException Class Reference

#include <DuplicateHardwareException.h>

Inheritance diagram for DuplicateHardwareException:
Inheritance graph
[legend]
Collaboration diagram for DuplicateHardwareException:
Collaboration graph
[legend]

Public Member Functions

 DuplicateHardwareException (Hardware hardware)
 
virtual const char * what () const throw ()
 

Detailed Description

Custom exception thrown when trying to register a duplicate piece of hardware with an object. See Communicator.

Definition at line 10 of file DuplicateHardwareException.h.

Constructor & Destructor Documentation

DuplicateHardwareException::DuplicateHardwareException ( Hardware  hardware)
inline

Constructor.

Parameters
hardwareThe duplicate piece of hardware

Definition at line 17 of file DuplicateHardwareException.h.

Member Function Documentation

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

Returns a message describing what went wrong.

Returns
A char pointer to a message of what went wrong.

Definition at line 25 of file DuplicateHardwareException.h.


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