\section{Exception Class Reference}
\label{class_exception}\index{Exception@{Exception}}
Common exception.  


{\tt \#include $<$exception.h$>$}

Inheritance diagram for Exception::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{class_exception}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
const char $\ast$ {\bf get\-Type} () const 
\begin{CompactList}\small\item\em Return type of class. \item\end{CompactList}\item 
{\bf Exception} (const char $\ast$class\-Name, const char $\ast$message,...)
\begin{CompactList}\small\item\em ctor Common exceptions, message parameter is substituted as in printf function. \par
 Example : \par
 \item\end{CompactList}\item 
const string \& {\bf get\-Message} () const 
\begin{CompactList}\small\item\em Return exception description. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Common exception. 

\begin{Desc}
\item[Date:]01-21-2006\end{Desc}
\begin{Desc}
\item[Author:]Ondrej Svejdar\end{Desc}
\begin{Desc}
\item[{\bf Todo}]\end{Desc}
\begin{Desc}
\item[{\bf Bug}]\end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{Exception@{Exception}!Exception@{Exception}}
\index{Exception@{Exception}!Exception@{Exception}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Exception::Exception (const char $\ast$ {\em class\-Name}, const char $\ast$ {\em message},  {\em ...})}\label{class_exception_838b6632b18f58e066fb047749ecdd12}


ctor Common exceptions, message parameter is substituted as in printf function. \par
 Example : \par
 



\footnotesize\begin{verbatim} throw new Exception("HelloWorld","Error opening file %s errorcode %d","foo",1)
\end{verbatim}
\normalsize
 The message in this example will be \char`\"{}Error opening file foo errorcode 1\char`\"{}.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em class\-Name}]name of class in which was exception thrown \item[{\em message}]message to display, message is substituted as in printf function \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\index{Exception@{Exception}!getMessage@{getMessage}}
\index{getMessage@{getMessage}!Exception@{Exception}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const string\& Exception::get\-Message () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_exception_f1b41205551a55ad52668f5394a64802}


Return exception description. 

\begin{Desc}
\item[Returns:]exception description \end{Desc}


Implements {\bf Exception\-Base} {\rm (p.\,\pageref{class_exception_base_dced052a34b55566cb83437123d3f820})}.\index{Exception@{Exception}!getType@{getType}}
\index{getType@{getType}!Exception@{Exception}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Exception::get\-Type () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_exception_1413702cbda682553d02b08afccebfc3}


Return type of class. 

\begin{Desc}
\item[Returns:]type of class \end{Desc}


Reimplemented from {\bf Exception\-Base} {\rm (p.\,\pageref{class_exception_base_1413702cbda682553d02b08afccebfc3})}.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
H:/projs/dot\-NET/eda/src/exceptions/exception.h\item 
H:/projs/dot\-NET/eda/src/exceptions/exception.cpp\end{CompactItemize}
