\doxysection{Method\+Not\+Supported\+Exception.\+h}
\hypertarget{a00404_source}{}\label{a00404_source}\index{MethodNotSupportedException.h@{MethodNotSupportedException.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\ METHODNOTSUPPOORTEDEXCPT\ \_\_declspec(dllexport)}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ METHODNOTSUPPOORTEDEXCPT\ \_\_declspec(dllimport)}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00009\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00013\ \textcolor{keyword}{class\ }METHODNOTSUPPOORTEDEXCPT\ \mbox{\hyperlink{a00920}{MethodNotSupportedException}}\ :\ exception,\ \textcolor{keyword}{public}\ TranscribableException}
\DoxyCodeLine{00014\ \{}
\DoxyCodeLine{00015\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00920_ab63e95195a1c98c7ca80b347b98f7fea}{MethodNotSupportedException}}(\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{00024\ }
\DoxyCodeLine{00029\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a00920_ac0983d66d7c59ccc20b1d9fd0951b49f}{MethodNotSupportedException}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{string}\&\ message,\ \textcolor{keywordtype}{string}\ translateCode)}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ :\ \_msg(message)\ \{}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ SetTranslateCode(translateCode);}
\DoxyCodeLine{00032\ \ \ \ \ \}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00038\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00920_a37d895f493843f188028efccdbe0855c}{\string~MethodNotSupportedException}}()\ noexcept\ \{\}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ \mbox{\hyperlink{a00920_a80be6898b648c1f8d0342f0d16e09aa3}{what}}()\ const\ noexcept\ \{}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_msg.c\_str();}
\DoxyCodeLine{00046\ \ \ \ \ \}}
\DoxyCodeLine{00047\ \textcolor{keyword}{protected}:}
\DoxyCodeLine{00048\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{a00920_a3f30692fa0fa2d82cd9481acd34ed0af}{\_msg}};}
\DoxyCodeLine{00049\ \ \ \ \ \textcolor{keywordtype}{string}\ \_code\ =\ \textcolor{stringliteral}{"{}"{}};}
\DoxyCodeLine{00050\ \};}
\DoxyCodeLine{00051\ }

\end{DoxyCode}
