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

#include <NonexistentHardwareException.h>

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

Public Member Functions

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

Detailed Description

Custom exception thrown when trying to update hardware that had not been registered with an object.

Definition at line 10 of file NonexistentHardwareException.h.

Constructor & Destructor Documentation

NonexistentHardwareException::NonexistentHardwareException ( Hardware  hardware)
inline

Constructor.

Parameters
hardwareThe unregistered hardware struct

Definition at line 17 of file NonexistentHardwareException.h.

Member Function Documentation

virtual const char* NonexistentHardwareException::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 NonexistentHardwareException.h.


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