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

#include <DataSizeException.h>

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

Public Member Functions

 DataSizeException (int data)
 
virtual const char * what () const throw ()
 

Detailed Description

Custom exception thrown when some data exceeds normal bounds (ex: motor speed)

Definition at line 10 of file DataSizeException.h.

Constructor & Destructor Documentation

DataSizeException::DataSizeException ( int  data)
inline

Constructor

Parameters
dataAn integer piece of data

Definition at line 17 of file DataSizeException.h.

Member Function Documentation

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


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