\doxysection{Sensor\+Error\+Exception.\+h}
\hypertarget{a00422_source}{}\label{a00422_source}\index{SensorErrorException.h@{SensorErrorException.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}TranscribableException.h"{}}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#ifdef\ STARFLEETTOOLBOX\_EXPORTS}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#define\ SENSORERROREXCPT\ \_\_declspec(dllexport)}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ SENSORERROREXCPT\ \_\_declspec(dllimport)}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00009\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00013\ \textcolor{keyword}{class\ }SENSORERROREXCPT\ \mbox{\hyperlink{a00932}{SensorErrorException}}\ :\ exception,\ \textcolor{keyword}{public}\ TranscribableException}
\DoxyCodeLine{00014\ \{}
\DoxyCodeLine{00015\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00932_a408e4783745214efbd099c4c56477972}{SensorErrorException}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ message,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ translateCode)}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ :\ \_msg(message)\ \{}
\DoxyCodeLine{00022\ \ \ \ \ \ \ \ \ SetTranslateCode(\textcolor{keywordtype}{string}(translateCode));}
\DoxyCodeLine{00023\ \ \ \ \ \}}
\DoxyCodeLine{00029\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00932}{SensorErrorException}}(\textcolor{keywordtype}{string}\ code,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{string}\&\ message,\ \textcolor{keywordtype}{string}\ translateCode);}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00932_a65a206299cbefdd8032bf8da110597a3}{SensorErrorException}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{string}\&\ message,\ \textcolor{keywordtype}{string}\ translateCode)}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ :\ \_msg(message)\ \{}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ SetTranslateCode(translateCode);}
\DoxyCodeLine{00038\ \ \ \ \ \}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00932_af9bf3e7f9a40581c4b9925cacdd0d18a}{\string~SensorErrorException}}()\ noexcept\ \{\}}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00050\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ \mbox{\hyperlink{a00932_a1571e35b9f507477c7752e3edf0769bb}{what}}()\ const\ noexcept\ \{}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_msg.c\_str();}
\DoxyCodeLine{00052\ \ \ \ \ \}}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keywordtype}{string}\ GetErrorCode();}
\DoxyCodeLine{00055\ \textcolor{keyword}{protected}:}
\DoxyCodeLine{00056\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{a00932_a6651cc3c1889465c0c928a8093624d17}{\_msg}};}
\DoxyCodeLine{00057\ \ \ \ \ \textcolor{keywordtype}{string}\ \_code\ =\ \textcolor{stringliteral}{"{}"{}};}
\DoxyCodeLine{00058\ \};}

\end{DoxyCode}
