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

#include <MismatchedMessageException.h>

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

Public Member Functions

 MismatchedMessageException (IMessage *msg)
 
virtual const char * what () const throw ()
 

Detailed Description

Custom exception thrown when a message of the wrong type is passed to an object.

Definition at line 13 of file MismatchedMessageException.h.

Constructor & Destructor Documentation

MismatchedMessageException::MismatchedMessageException ( IMessage msg)
inline

Constructor.

Parameters
msgThe Message passed to the object that throws this exception

Definition at line 20 of file MismatchedMessageException.h.

Member Function Documentation

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


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