\doxysection{Thread\+Creation\+Exception.\+h}
\hypertarget{a00434_source}{}\label{a00434_source}\index{ThreadCreationException.h@{ThreadCreationException.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ "{}TranscribableException.h"{}}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#ifdef\ STARFLEETTOOLBOX\_EXPORTS}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#define\ THREADEXCEPT\ \_\_declspec(dllexport)}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ THREADEXCEPT\ \_\_declspec(dllimport)}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00015\ \textcolor{keyword}{class\ }THREADEXCEPT\ \mbox{\hyperlink{a00940}{ThreadCreationException}}:\ exception,\ \textcolor{keyword}{public}\ TranscribableException}
\DoxyCodeLine{00016\ \{}
\DoxyCodeLine{00017\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00940_a634895a18090b791c80dfe202acae8f3}{ThreadCreationException}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ message,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ translateCode)}
\DoxyCodeLine{00023\ \ \ \ \ \ \ \ \ :\ \_msg(message)\ \{}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ SetTranslateCode(\textcolor{keywordtype}{string}(translateCode));}
\DoxyCodeLine{00025\ \ \ \ \ \}}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00940_a264125bfc187d3d14809c57a436f5acd}{ThreadCreationException}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{string}\&\ message,\ \textcolor{keywordtype}{string}\ translateCode)}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ :\ \_msg(message)\ \{}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ SetTranslateCode(translateCode);}
\DoxyCodeLine{00034\ \ \ \ \ \}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00041\ \ \ \ \ \mbox{\hyperlink{a00940_ad70d9384877372214cab501a26f5aa1a}{ThreadCreationException}}(\mbox{\hyperlink{a00940}{ThreadCreationException}}\ \textcolor{keyword}{const}\&)\ \textcolor{keyword}{noexcept}\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00048\ \ \ \ \ \mbox{\hyperlink{a00940}{ThreadCreationException}}\&\ \mbox{\hyperlink{a00940_aeedb9c957f9a93f39bbedde896f435d3}{operator=}}(\mbox{\hyperlink{a00940}{ThreadCreationException}}\ \textcolor{keyword}{const}\&)\ \textcolor{keyword}{noexcept}\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00049\ \ \ \ \ \mbox{\hyperlink{a00940_afd3ce23c657e4f1fcaa81854f126a575}{\string~ThreadCreationException}}()\ \textcolor{keyword}{override}\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ \mbox{\hyperlink{a00940_a6a69a714fe54db06bc61d3a3f8471945}{what}}()\ const\ noexcept\textcolor{keyword}{\ override\ }\{\ \textcolor{keywordflow}{return}\ \_msg.c\_str();\ \}}
\DoxyCodeLine{00056\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00057\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{string}\ \_msg;}
\DoxyCodeLine{00058\ \};}
\DoxyCodeLine{00059\ }

\end{DoxyCode}
