\doxysection{Sensor\+Error\+Exception Class Reference}
\hypertarget{a00932}{}\label{a00932}\index{SensorErrorException@{SensorErrorException}}


An exception used when the sensor returns an error related to a command excecution.  




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

Inheritance diagram for Sensor\+Error\+Exception\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00932}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00932_a408e4783745214efbd099c4c56477972}{Sensor\+Error\+Exception}} (const char \texorpdfstring{$\ast$}{*}message, const char \texorpdfstring{$\ast$}{*}translate\+Code)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00932_ab9fb34bd74eb9f57ec7b25a629859358}{Sensor\+Error\+Exception}} (string code, const string \&message, string translate\+Code)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00932_a65a206299cbefdd8032bf8da110597a3}{Sensor\+Error\+Exception}} (const string \&message, string translate\+Code)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{a00932_af9bf3e7f9a40581c4b9925cacdd0d18a}{\texorpdfstring{$\sim$}{\string~}\+Sensor\+Error\+Exception}} () noexcept
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{a00932_a1571e35b9f507477c7752e3edf0769bb}{what}} () const noexcept
\begin{DoxyCompactList}\small\item\em Overload of message retrie. \end{DoxyCompactList}\item 
string \mbox{\hyperlink{a00932_a12b7d322387eaa5f863651f452a5853e}{Get\+Error\+Code}} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
string \mbox{\hyperlink{a00932_a6651cc3c1889465c0c928a8093624d17}{\+\_\+msg}}
\item 
string \mbox{\hyperlink{a00932_adfd7b5d2b46637155b711d55deb99668}{\+\_\+code}} = "{}"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
An exception used when the sensor returns an error related to a command excecution. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{a00932_a408e4783745214efbd099c4c56477972}\index{SensorErrorException@{SensorErrorException}!SensorErrorException@{SensorErrorException}}
\index{SensorErrorException@{SensorErrorException}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{SensorErrorException()}{SensorErrorException()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \label{a00932_a408e4783745214efbd099c4c56477972} 
Sensor\+Error\+Exception\+::\+Sensor\+Error\+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{a00932_ab9fb34bd74eb9f57ec7b25a629859358}\index{SensorErrorException@{SensorErrorException}!SensorErrorException@{SensorErrorException}}
\index{SensorErrorException@{SensorErrorException}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{SensorErrorException()}{SensorErrorException()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \label{a00932_ab9fb34bd74eb9f57ec7b25a629859358} 
Sensor\+Error\+Exception\+::\+Sensor\+Error\+Exception (\begin{DoxyParamCaption}\item[{string}]{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{a00932_a65a206299cbefdd8032bf8da110597a3}\index{SensorErrorException@{SensorErrorException}!SensorErrorException@{SensorErrorException}}
\index{SensorErrorException@{SensorErrorException}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{SensorErrorException()}{SensorErrorException()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \label{a00932_a65a206299cbefdd8032bf8da110597a3} 
Sensor\+Error\+Exception\+::\+Sensor\+Error\+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{a00932_af9bf3e7f9a40581c4b9925cacdd0d18a}\index{SensorErrorException@{SensorErrorException}!````~SensorErrorException@{\texorpdfstring{$\sim$}{\string~}SensorErrorException}}
\index{````~SensorErrorException@{\texorpdfstring{$\sim$}{\string~}SensorErrorException}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{\texorpdfstring{$\sim$}{\string~}SensorErrorException()}{\string~SensorErrorException()}}
{\footnotesize\ttfamily \label{a00932_af9bf3e7f9a40581c4b9925cacdd0d18a} 
virtual Sensor\+Error\+Exception\+::\texorpdfstring{$\sim$}{\string~}\+Sensor\+Error\+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{a00932_a12b7d322387eaa5f863651f452a5853e}\index{SensorErrorException@{SensorErrorException}!GetErrorCode@{GetErrorCode}}
\index{GetErrorCode@{GetErrorCode}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{GetErrorCode()}{GetErrorCode()}}
{\footnotesize\ttfamily \label{a00932_a12b7d322387eaa5f863651f452a5853e} 
string Sensor\+Error\+Exception\+::\+Get\+Error\+Code (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}

\Hypertarget{a00932_a1571e35b9f507477c7752e3edf0769bb}\index{SensorErrorException@{SensorErrorException}!what@{what}}
\index{what@{what}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{what()}{what()}}
{\footnotesize\ttfamily \label{a00932_a1571e35b9f507477c7752e3edf0769bb} 
virtual const char \texorpdfstring{$\ast$}{*} Sensor\+Error\+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{a00932_adfd7b5d2b46637155b711d55deb99668}\index{SensorErrorException@{SensorErrorException}!\_code@{\_code}}
\index{\_code@{\_code}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{\_code}{\_code}}
{\footnotesize\ttfamily \label{a00932_adfd7b5d2b46637155b711d55deb99668} 
string Sensor\+Error\+Exception\+::\+\_\+code = "{}"{}\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{a00932_a6651cc3c1889465c0c928a8093624d17}\index{SensorErrorException@{SensorErrorException}!\_msg@{\_msg}}
\index{\_msg@{\_msg}!SensorErrorException@{SensorErrorException}}
\doxysubsubsection{\texorpdfstring{\_msg}{\_msg}}
{\footnotesize\ttfamily \label{a00932_a6651cc3c1889465c0c928a8093624d17} 
string Sensor\+Error\+Exception\+::\+\_\+msg\hspace{0.3cm}{\ttfamily [protected]}}



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