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

#include <MessageLengthException.h>

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

Public Member Functions

 MessageLengthException (Hardware h)
 
virtual const char * what () const throw ()
 

Detailed Description

Custom exception thrown when a message is composed with the wrong length of data

Definition at line 13 of file MessageLengthException.h.

Constructor & Destructor Documentation

MessageLengthException::MessageLengthException ( Hardware  h)
inline

Constructor

Parameters
hThe Hardware requiring a specific length in bytes of data

Definition at line 20 of file MessageLengthException.h.

Member Function Documentation

virtual const char* MessageLengthException::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 28 of file MessageLengthException.h.


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