\doxysection{Communication\+Exception Class Reference}
\hypertarget{a00844}{}\label{a00844}\index{CommunicationException@{CommunicationException}}


An Exception used when a communication error is detected.  




{\ttfamily \#include $<$Communication\+Exception.\+h$>$}

Inheritance diagram for Communication\+Exception\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00844}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00844_a3771b12c9ba617bc9a2b584ea688271c}{Communication\+Exception}} (const char \texorpdfstring{$\ast$}{*}message, const char \texorpdfstring{$\ast$}{*}translate\+Code)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00844_a82ac15abe1d32348e00283d5dcc9bbde}{Communication\+Exception}} (int code, const string \&message, string translate\+Code)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00844_ae5f5cd4e017eff92c6ca981e0e7c32b9}{Communication\+Exception}} (const string \&message, string translate\+Code)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{a00844_a37d171014e41fe5e02495f2b77e840e1}{\texorpdfstring{$\sim$}{\string~}\+Communication\+Exception}} () noexcept
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{a00844_a090028821985d4d3aa97c9d1c9e9df04}{what}} () const noexcept
\begin{DoxyCompactList}\small\item\em Overload of message retrie. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{a00844_a1791ef141531b0611ec5c9b281fdd0ac}{Get\+Error\+Code}} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
string \mbox{\hyperlink{a00844_ad1e2626500364c97599835d0abd921d7}{\+\_\+msg}}
\item 
int \mbox{\hyperlink{a00844_a8d8e6e4815359cd5aea219839c6f986e}{\+\_\+code}} = -\/1
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
An Exception used when a communication error is detected. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{a00844_a3771b12c9ba617bc9a2b584ea688271c}\index{CommunicationException@{CommunicationException}!CommunicationException@{CommunicationException}}
\index{CommunicationException@{CommunicationException}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{CommunicationException()}{CommunicationException()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \label{a00844_a3771b12c9ba617bc9a2b584ea688271c} 
Communication\+Exception\+::\+Communication\+Exception (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{message}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{translate\+Code}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em message} & A message pointer to a char\\
\hline
\end{DoxyParams}
\Hypertarget{a00844_a82ac15abe1d32348e00283d5dcc9bbde}\index{CommunicationException@{CommunicationException}!CommunicationException@{CommunicationException}}
\index{CommunicationException@{CommunicationException}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{CommunicationException()}{CommunicationException()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \label{a00844_a82ac15abe1d32348e00283d5dcc9bbde} 
Communication\+Exception\+::\+Communication\+Exception (\begin{DoxyParamCaption}\item[{int}]{code}{, }\item[{const string \&}]{message}{, }\item[{string}]{translate\+Code}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}



Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em code} & The error code\\
\hline
{\em message} & A message string\\
\hline
\end{DoxyParams}
\Hypertarget{a00844_ae5f5cd4e017eff92c6ca981e0e7c32b9}\index{CommunicationException@{CommunicationException}!CommunicationException@{CommunicationException}}
\index{CommunicationException@{CommunicationException}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{CommunicationException()}{CommunicationException()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \label{a00844_ae5f5cd4e017eff92c6ca981e0e7c32b9} 
Communication\+Exception\+::\+Communication\+Exception (\begin{DoxyParamCaption}\item[{const string \&}]{message}{, }\item[{string}]{translate\+Code}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em message} & A message string\\
\hline
\end{DoxyParams}
\Hypertarget{a00844_a37d171014e41fe5e02495f2b77e840e1}\index{CommunicationException@{CommunicationException}!````~CommunicationException@{\texorpdfstring{$\sim$}{\string~}CommunicationException}}
\index{````~CommunicationException@{\texorpdfstring{$\sim$}{\string~}CommunicationException}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{\texorpdfstring{$\sim$}{\string~}CommunicationException()}{\string~CommunicationException()}}
{\footnotesize\ttfamily \label{a00844_a37d171014e41fe5e02495f2b77e840e1} 
virtual Communication\+Exception\+::\texorpdfstring{$\sim$}{\string~}\+Communication\+Exception (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [noexcept]}}



Destructor. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


\doxysubsection{Member Function Documentation}
\Hypertarget{a00844_a1791ef141531b0611ec5c9b281fdd0ac}\index{CommunicationException@{CommunicationException}!GetErrorCode@{GetErrorCode}}
\index{GetErrorCode@{GetErrorCode}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{GetErrorCode()}{GetErrorCode()}}
{\footnotesize\ttfamily \label{a00844_a1791ef141531b0611ec5c9b281fdd0ac} 
int Communication\+Exception\+::\+Get\+Error\+Code (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}

\Hypertarget{a00844_a090028821985d4d3aa97c9d1c9e9df04}\index{CommunicationException@{CommunicationException}!what@{what}}
\index{what@{what}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{what()}{what()}}
{\footnotesize\ttfamily \label{a00844_a090028821985d4d3aa97c9d1c9e9df04} 
virtual const char \texorpdfstring{$\ast$}{*} Communication\+Exception\+::what (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [noexcept]}}



Overload of message retrie. 

\begin{DoxyReturn}{Returns}
A pointer to a char representing the message
\end{DoxyReturn}


\doxysubsection{Member Data Documentation}
\Hypertarget{a00844_a8d8e6e4815359cd5aea219839c6f986e}\index{CommunicationException@{CommunicationException}!\_code@{\_code}}
\index{\_code@{\_code}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{\_code}{\_code}}
{\footnotesize\ttfamily \label{a00844_a8d8e6e4815359cd5aea219839c6f986e} 
int Communication\+Exception\+::\+\_\+code = -\/1\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{a00844_ad1e2626500364c97599835d0abd921d7}\index{CommunicationException@{CommunicationException}!\_msg@{\_msg}}
\index{\_msg@{\_msg}!CommunicationException@{CommunicationException}}
\doxysubsubsection{\texorpdfstring{\_msg}{\_msg}}
{\footnotesize\ttfamily \label{a00844_ad1e2626500364c97599835d0abd921d7} 
string Communication\+Exception\+::\+\_\+msg\hspace{0.3cm}{\ttfamily [protected]}}



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Communication\+Exception.\+h\item 
Communication\+Exception.\+cpp\end{DoxyCompactItemize}
