\hypertarget{classgfl_1_1err_1_1_exception}{
\section{クラス gfl\-:\-:err\-:\-:\-Exception}
\label{classgfl_1_1err_1_1_exception}\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}}
}


全ての例外クラスの基本クラス  




{\ttfamily \#include $<$gfl\-\_\-\-Exception.\-h$>$}

gfl\-:\-:err\-:\-:\-Exceptionに対する継承グラフ\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.500000cm]{classgfl_1_1err_1_1_exception}
\end{center}
\end{figure}
\subsection*{\-Public メソッド}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classgfl_1_1err_1_1_exception_a1922eb9e976ab1a0a5826d69fc253b64}{\-Exception} (const char $\ast$message=\-N\-U\-L\-L, const char $\ast$file\-Name=\-N\-U\-L\-L, u32 line=0)
\begin{DoxyCompactList}\small\item\em コンストラクタ \end{DoxyCompactList}\item 
void \hyperlink{classgfl_1_1err_1_1_exception_a22905b8584245ae9bbb31a7b709dc4f6}{\-Print\-Stack\-Trace} (void) const 
\begin{DoxyCompactList}\small\item\em トレース情報をコンソールへ出力する \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{classgfl_1_1err_1_1_exception_a55ac291909e135051a9b2f5b9d75f845}{\-Get\-Throws\-File\-Name} (void) const 
\begin{DoxyCompactList}\small\item\em 例外が発行されたファイル名を取得 \end{DoxyCompactList}\item 
u32 \hyperlink{classgfl_1_1err_1_1_exception_a54ac61dd5c7e91482911b281b09b37d5}{\-Get\-Throws\-File\-Line} (void) const 
\begin{DoxyCompactList}\small\item\em 例外が発行されたファイルの行数を取得 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Protected メソッド}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classgfl_1_1err_1_1_exception_a34e6cf408a512ce5bd34380b8d424830}{\-Set\-Massage} (const char $\ast$class\-Header, const char $\ast$message)
\end{DoxyCompactItemize}
\subsection*{\-Protected 変数}
\begin{DoxyCompactItemize}
\item 
char \hyperlink{classgfl_1_1err_1_1_exception_a504e9015ab77b3d43be2e18edac9a468}{m\-\_\-message} \mbox{[}\hyperlink{classgfl_1_1err_1_1_exception_ac33305bb3d84751da5dcb9fb5a0869e0}{\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}
\item 
char \hyperlink{classgfl_1_1err_1_1_exception_a502de60ca83aac7182f7f8cced4b3912}{m\-\_\-file\-Name} \mbox{[}\hyperlink{classgfl_1_1err_1_1_exception_a641b04c7c8315d8931ba3a0689027ad3}{\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}
\item 
u32 \hyperlink{classgfl_1_1err_1_1_exception_a636a3f513fa099cf6c9cddf659c8f30e}{m\-\_\-line}
\end{DoxyCompactItemize}
\subsection*{\-Static \-Protected 変数}
\begin{DoxyCompactItemize}
\item 
static const u32 \hyperlink{classgfl_1_1err_1_1_exception_ac33305bb3d84751da5dcb9fb5a0869e0}{\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E} = 256
\item 
static const u32 \hyperlink{classgfl_1_1err_1_1_exception_a641b04c7c8315d8931ba3a0689027ad3}{\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E} = 128
\end{DoxyCompactItemize}


\subsection{説明}
全ての例外クラスの基本クラス 

\subsection{コンストラクタとデストラクタ}
\hypertarget{classgfl_1_1err_1_1_exception_a1922eb9e976ab1a0a5826d69fc253b64}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-Exception@{\-Exception}}
\index{\-Exception@{\-Exception}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}gfl\-::err\-::\-Exception\-::\-Exception (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{message = {\ttfamily \-N\-U\-L\-L}, }
\item[{const char $\ast$}]{file\-Name = {\ttfamily \-N\-U\-L\-L}, }
\item[{u32}]{line = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}
\label{classgfl_1_1err_1_1_exception_a1922eb9e976ab1a0a5826d69fc253b64}


コンストラクタ 

-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/ 
\begin{DoxyParams}{引数}
{\em message} & エラーメッセージを追加したい際の文字列(省略可能) \-N\-U\-L\-Lの指定も可能。 \\
\hline
{\em file\-Name} & エラーが発生したファイル名(省略可能) \-N\-U\-L\-Lの指定も可能。 \\
\hline
{\em line} & エラーが発生したファイル行番号(省略可能) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
無し 
\end{DoxyReturn}


\subsection{関数}
\hypertarget{classgfl_1_1err_1_1_exception_a54ac61dd5c7e91482911b281b09b37d5}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-Get\-Throws\-File\-Line@{\-Get\-Throws\-File\-Line}}
\index{\-Get\-Throws\-File\-Line@{\-Get\-Throws\-File\-Line}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-Get\-Throws\-File\-Line}]{\setlength{\rightskip}{0pt plus 5cm}u32 gfl\-::err\-::\-Exception\-::\-Get\-Throws\-File\-Line (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}}
\label{classgfl_1_1err_1_1_exception_a54ac61dd5c7e91482911b281b09b37d5}


例外が発行されたファイルの行数を取得 

-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/ 
\begin{DoxyParams}{引数}
{\em 無し} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
例外が発行されたファイルの行数 
\end{DoxyReturn}
\hypertarget{classgfl_1_1err_1_1_exception_a55ac291909e135051a9b2f5b9d75f845}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-Get\-Throws\-File\-Name@{\-Get\-Throws\-File\-Name}}
\index{\-Get\-Throws\-File\-Name@{\-Get\-Throws\-File\-Name}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-Get\-Throws\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ gfl\-::err\-::\-Exception\-::\-Get\-Throws\-File\-Name (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}}
\label{classgfl_1_1err_1_1_exception_a55ac291909e135051a9b2f5b9d75f845}


例外が発行されたファイル名を取得 

-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/ 
\begin{DoxyParams}{引数}
{\em 無し} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
例外が発行されたファイル名 
\end{DoxyReturn}
\hypertarget{classgfl_1_1err_1_1_exception_a22905b8584245ae9bbb31a7b709dc4f6}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-Print\-Stack\-Trace@{\-Print\-Stack\-Trace}}
\index{\-Print\-Stack\-Trace@{\-Print\-Stack\-Trace}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-Print\-Stack\-Trace}]{\setlength{\rightskip}{0pt plus 5cm}void gfl\-::err\-::\-Exception\-::\-Print\-Stack\-Trace (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}}
\label{classgfl_1_1err_1_1_exception_a22905b8584245ae9bbb31a7b709dc4f6}


トレース情報をコンソールへ出力する 

-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/ 
\begin{DoxyParams}{引数}
{\em 無し} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
無し 
\end{DoxyReturn}
\hypertarget{classgfl_1_1err_1_1_exception_a34e6cf408a512ce5bd34380b8d424830}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-Set\-Massage@{\-Set\-Massage}}
\index{\-Set\-Massage@{\-Set\-Massage}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-Set\-Massage}]{\setlength{\rightskip}{0pt plus 5cm}void gfl\-::err\-::\-Exception\-::\-Set\-Massage (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{class\-Header, }
\item[{const char $\ast$}]{message}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classgfl_1_1err_1_1_exception_a34e6cf408a512ce5bd34380b8d424830}


\subsection{変数}
\hypertarget{classgfl_1_1err_1_1_exception_a641b04c7c8315d8931ba3a0689027ad3}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E@{\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}}
\index{\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E@{\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}]{\setlength{\rightskip}{0pt plus 5cm}const u32 {\bf gfl\-::err\-::\-Exception\-::\-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E} = 128\hspace{0.3cm}{\ttfamily  \mbox{[}static, protected\mbox{]}}}}
\label{classgfl_1_1err_1_1_exception_a641b04c7c8315d8931ba3a0689027ad3}
\hypertarget{classgfl_1_1err_1_1_exception_a502de60ca83aac7182f7f8cced4b3912}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!m\-\_\-file\-Name@{m\-\_\-file\-Name}}
\index{m\-\_\-file\-Name@{m\-\_\-file\-Name}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{m\-\_\-file\-Name}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf gfl\-::err\-::\-Exception\-::m\-\_\-file\-Name}\mbox{[}{\bf \-F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classgfl_1_1err_1_1_exception_a502de60ca83aac7182f7f8cced4b3912}
\hypertarget{classgfl_1_1err_1_1_exception_a636a3f513fa099cf6c9cddf659c8f30e}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!m\-\_\-line@{m\-\_\-line}}
\index{m\-\_\-line@{m\-\_\-line}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{m\-\_\-line}]{\setlength{\rightskip}{0pt plus 5cm}u32 {\bf gfl\-::err\-::\-Exception\-::m\-\_\-line}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classgfl_1_1err_1_1_exception_a636a3f513fa099cf6c9cddf659c8f30e}
\hypertarget{classgfl_1_1err_1_1_exception_a504e9015ab77b3d43be2e18edac9a468}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!m\-\_\-message@{m\-\_\-message}}
\index{m\-\_\-message@{m\-\_\-message}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{m\-\_\-message}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf gfl\-::err\-::\-Exception\-::m\-\_\-message}\mbox{[}{\bf \-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classgfl_1_1err_1_1_exception_a504e9015ab77b3d43be2e18edac9a468}
\hypertarget{classgfl_1_1err_1_1_exception_ac33305bb3d84751da5dcb9fb5a0869e0}{
\index{gfl\-::err\-::\-Exception@{gfl\-::err\-::\-Exception}!\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E@{\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}}
\index{\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E@{\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}!gfl::err::Exception@{gfl\-::err\-::\-Exception}}
\subsubsection[{\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}]{\setlength{\rightskip}{0pt plus 5cm}const u32 {\bf gfl\-::err\-::\-Exception\-::\-M\-E\-S\-S\-A\-G\-E\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E} = 256\hspace{0.3cm}{\ttfamily  \mbox{[}static, protected\mbox{]}}}}
\label{classgfl_1_1err_1_1_exception_ac33305bb3d84751da5dcb9fb5a0869e0}


このクラスの説明は次のファイルから生成されました\-:\begin{DoxyCompactItemize}
\item 
prog/include/err/\hyperlink{gfl___exception_8h}{gfl\-\_\-\-Exception.\-h}\end{DoxyCompactItemize}
