\hypertarget{class_ogre_1_1_exception}{}\section{Ogre\+:\+:Exception Class Reference}
\label{class_ogre_1_1_exception}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}}


When thrown, provides information about an error that has occurred inside the engine.  




{\ttfamily \#include $<$Ogre\+Exception.\+h$>$}



Inheritance diagram for Ogre\+:\+:Exception\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_exception__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}{Exception\+Codes} \{ \newline
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29baaeb75efe079b550f380d62d9a0954e71}{E\+R\+R\+\_\+\+C\+A\+N\+N\+O\+T\+\_\+\+W\+R\+I\+T\+E\+\_\+\+T\+O\+\_\+\+F\+I\+LE}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9d61f90f76dd3e119d608876ea5f7957}{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba359c10b8abe9abf39f84550a903e4698}{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba55da7c9771a98e7c96c3900028f02703}{E\+R\+R\+\_\+\+R\+E\+N\+D\+E\+R\+I\+N\+G\+A\+P\+I\+\_\+\+E\+R\+R\+OR}, 
\newline
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba932168f4c4ae1a90391233de8a21ab1a}{E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9f57f8f4aefb7fae5fcd69fe155e7003}{E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND} = E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba65ef64423bae408d90e0af0166bac152}{E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba946e7d147a09d8db65b6143d1d348c99}{E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR}, 
\newline
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29bae8c10c1472a5d4005d1c25adb5e2764d}{E\+R\+R\+\_\+\+R\+T\+\_\+\+A\+S\+S\+E\+R\+T\+I\+O\+N\+\_\+\+F\+A\+I\+L\+ED}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9e2cd2d2436678236e339e6a42887090}{E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}, 
\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba69f87eaf2ef88aabef0d5d11666b6705}{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+A\+LL}
 \}\begin{DoxyCompactList}\small\item\em Static definitions of error codes. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_exception_adc5a5e5eb027cdd0591566d2518cc3fd}{Exception} (int number, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&description, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&source)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_exception_aaa6e0d203a91b43870058082aeb34428}{Exception} (int number, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&description, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&source, const char $\ast$type, const char $\ast$file, long line)
\begin{DoxyCompactList}\small\item\em Advanced constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_exception_a82249d342184fd23af4dd1c0ac589c57}{Exception} (const \hyperlink{class_ogre_1_1_exception}{Exception} \&rhs)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_exception_a5aeb1d634e6d2dc9e547ff37bd9dc051}{$\sim$\+Exception} ()  throw ()
\begin{DoxyCompactList}\small\item\em Needed for compatibility with std\+::exception. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_exception_a501b957a641840f1dc06d7b8d4657d19}{get\+Description} (void) const
\begin{DoxyCompactList}\small\item\em Returns a string with only the \textquotesingle{}description\textquotesingle{} field of this exception. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{class_ogre_1_1_exception_a9ad9f9be38cc58f50079f8163feb2b0b}{get\+File} () const
\begin{DoxyCompactList}\small\item\em Gets source file name. \end{DoxyCompactList}\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_exception_af6e85a048732d785797152da81a2706c}{get\+Full\+Description} (void) const
\begin{DoxyCompactList}\small\item\em Returns a string with the full description of this error. \end{DoxyCompactList}\item 
long \hyperlink{class_ogre_1_1_exception_a78036952769df04fdf2f051e506aa7bc}{get\+Line} () const
\begin{DoxyCompactList}\small\item\em Gets line number. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_exception_a44cc73cf416eba0ef75a49d18d919664}{get\+Source} () const
\begin{DoxyCompactList}\small\item\em Gets the source function. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{class_ogre_1_1_exception_a5323fd0394409fc11d86ac60491ea3e8}{what} () const  throw ()
\begin{DoxyCompactList}\small\item\em Override std\+::exception\+::what. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
When thrown, provides information about an error that has occurred inside the engine. 

\begin{DoxyRemark}{Remarks}
O\+G\+RE never uses return values to indicate errors. Instead, if an error occurs, an exception is thrown, and this is the object that encapsulates the detail of the problem. The application using O\+G\+RE should always ensure that the exceptions are caught, so all O\+G\+RE engine functions should occur within a try\{\} catch(\+Ogre\+::\+Exception\& e) \{\} block. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The user application should never create any instances of this object unless it wishes to unify its error handling using the same object. 
\end{DoxyParagraph}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!Exception\+Codes@{Exception\+Codes}}
\index{Exception\+Codes@{Exception\+Codes}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{Exception\+Codes}{ExceptionCodes}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}{Ogre\+::\+Exception\+::\+Exception\+Codes}}



Static definitions of error codes. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+C\+A\+N\+N\+O\+T\+\_\+\+W\+R\+I\+T\+E\+\_\+\+T\+O\+\_\+\+F\+I\+LE@{E\+R\+R\+\_\+\+C\+A\+N\+N\+O\+T\+\_\+\+W\+R\+I\+T\+E\+\_\+\+T\+O\+\_\+\+F\+I\+LE}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+C\+A\+N\+N\+O\+T\+\_\+\+W\+R\+I\+T\+E\+\_\+\+T\+O\+\_\+\+F\+I\+LE@{E\+R\+R\+\_\+\+C\+A\+N\+N\+O\+T\+\_\+\+W\+R\+I\+T\+E\+\_\+\+T\+O\+\_\+\+F\+I\+LE}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29baaeb75efe079b550f380d62d9a0954e71}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29baaeb75efe079b550f380d62d9a0954e71}} 
E\+R\+R\+\_\+\+C\+A\+N\+N\+O\+T\+\_\+\+W\+R\+I\+T\+E\+\_\+\+T\+O\+\_\+\+F\+I\+LE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE@{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE@{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9d61f90f76dd3e119d608876ea5f7957}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9d61f90f76dd3e119d608876ea5f7957}} 
E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS@{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS@{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba359c10b8abe9abf39f84550a903e4698}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba359c10b8abe9abf39f84550a903e4698}} 
E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+R\+E\+N\+D\+E\+R\+I\+N\+G\+A\+P\+I\+\_\+\+E\+R\+R\+OR@{E\+R\+R\+\_\+\+R\+E\+N\+D\+E\+R\+I\+N\+G\+A\+P\+I\+\_\+\+E\+R\+R\+OR}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+R\+E\+N\+D\+E\+R\+I\+N\+G\+A\+P\+I\+\_\+\+E\+R\+R\+OR@{E\+R\+R\+\_\+\+R\+E\+N\+D\+E\+R\+I\+N\+G\+A\+P\+I\+\_\+\+E\+R\+R\+OR}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba55da7c9771a98e7c96c3900028f02703}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba55da7c9771a98e7c96c3900028f02703}} 
E\+R\+R\+\_\+\+R\+E\+N\+D\+E\+R\+I\+N\+G\+A\+P\+I\+\_\+\+E\+R\+R\+OR&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM@{E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM@{E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba932168f4c4ae1a90391233de8a21ab1a}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba932168f4c4ae1a90391233de8a21ab1a}} 
E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND@{E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND@{E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9f57f8f4aefb7fae5fcd69fe155e7003}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9f57f8f4aefb7fae5fcd69fe155e7003}} 
E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND@{E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND@{E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba65ef64423bae408d90e0af0166bac152}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba65ef64423bae408d90e0af0166bac152}} 
E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR@{E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR@{E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba946e7d147a09d8db65b6143d1d348c99}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba946e7d147a09d8db65b6143d1d348c99}} 
E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+R\+T\+\_\+\+A\+S\+S\+E\+R\+T\+I\+O\+N\+\_\+\+F\+A\+I\+L\+ED@{E\+R\+R\+\_\+\+R\+T\+\_\+\+A\+S\+S\+E\+R\+T\+I\+O\+N\+\_\+\+F\+A\+I\+L\+ED}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+R\+T\+\_\+\+A\+S\+S\+E\+R\+T\+I\+O\+N\+\_\+\+F\+A\+I\+L\+ED@{E\+R\+R\+\_\+\+R\+T\+\_\+\+A\+S\+S\+E\+R\+T\+I\+O\+N\+\_\+\+F\+A\+I\+L\+ED}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29bae8c10c1472a5d4005d1c25adb5e2764d}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29bae8c10c1472a5d4005d1c25adb5e2764d}} 
E\+R\+R\+\_\+\+R\+T\+\_\+\+A\+S\+S\+E\+R\+T\+I\+O\+N\+\_\+\+F\+A\+I\+L\+ED&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED@{E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED@{E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9e2cd2d2436678236e339e6a42887090}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9e2cd2d2436678236e339e6a42887090}} 
E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+A\+LL@{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+A\+LL}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+A\+LL@{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+A\+LL}}}\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba69f87eaf2ef88aabef0d5d11666b6705}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba69f87eaf2ef88aabef0d5d11666b6705}} 
E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+A\+LL&\\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_exception_adc5a5e5eb027cdd0591566d2518cc3fd}\label{class_ogre_1_1_exception_adc5a5e5eb027cdd0591566d2518cc3fd}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!Exception@{Exception}}
\index{Exception@{Exception}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::\+Exception (\begin{DoxyParamCaption}\item[{int}]{number,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{description,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{source }\end{DoxyParamCaption})}



Default constructor. 

\mbox{\Hypertarget{class_ogre_1_1_exception_aaa6e0d203a91b43870058082aeb34428}\label{class_ogre_1_1_exception_aaa6e0d203a91b43870058082aeb34428}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!Exception@{Exception}}
\index{Exception@{Exception}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::\+Exception (\begin{DoxyParamCaption}\item[{int}]{number,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{description,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{source,  }\item[{const char $\ast$}]{type,  }\item[{const char $\ast$}]{file,  }\item[{long}]{line }\end{DoxyParamCaption})}



Advanced constructor. 

\mbox{\Hypertarget{class_ogre_1_1_exception_a82249d342184fd23af4dd1c0ac589c57}\label{class_ogre_1_1_exception_a82249d342184fd23af4dd1c0ac589c57}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!Exception@{Exception}}
\index{Exception@{Exception}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::\+Exception (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_exception}{Exception} \&}]{rhs }\end{DoxyParamCaption})}



Copy constructor. 

\mbox{\Hypertarget{class_ogre_1_1_exception_a5aeb1d634e6d2dc9e547ff37bd9dc051}\label{class_ogre_1_1_exception_a5aeb1d634e6d2dc9e547ff37bd9dc051}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!````~Exception@{$\sim$\+Exception}}
\index{````~Exception@{$\sim$\+Exception}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{$\sim$\+Exception()}{~Exception()}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::$\sim$\+Exception (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throw  ) \hspace{0.3cm}{\ttfamily [inline]}}



Needed for compatibility with std\+::exception. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_exception_af6e85a048732d785797152da81a2706c}\label{class_ogre_1_1_exception_af6e85a048732d785797152da81a2706c}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!get\+Full\+Description@{get\+Full\+Description}}
\index{get\+Full\+Description@{get\+Full\+Description}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{get\+Full\+Description()}{getFullDescription()}}
{\footnotesize\ttfamily virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Exception\+::get\+Full\+Description (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns a string with the full description of this error. 

\begin{DoxyRemark}{Remarks}
The description contains the error number, the description supplied by the thrower, what routine threw the exception, and will also supply extra platform-\/specific information where applicable. For example -\/ in the case of a rendering library error, the description of the error will include both the place in which O\+G\+RE found the problem, and a text description from the 3D rendering library, if available. 
\end{DoxyRemark}


Reimplemented in \hyperlink{class_ogre_1_1_d3_d11_rendering_a_p_i_exception_ae1fc6ec29def7b9c8b3ff86bd7e3b0e4}{Ogre\+::\+D3\+D11\+Rendering\+A\+P\+I\+Exception}.



Referenced by Ogre\+::\+D3\+D11\+Rendering\+A\+P\+I\+Exception\+::get\+Full\+Description().

\mbox{\Hypertarget{class_ogre_1_1_exception_a44cc73cf416eba0ef75a49d18d919664}\label{class_ogre_1_1_exception_a44cc73cf416eba0ef75a49d18d919664}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!get\+Source@{get\+Source}}
\index{get\+Source@{get\+Source}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{get\+Source()}{getSource()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Exception\+::get\+Source (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the source function. 

\mbox{\Hypertarget{class_ogre_1_1_exception_a9ad9f9be38cc58f50079f8163feb2b0b}\label{class_ogre_1_1_exception_a9ad9f9be38cc58f50079f8163feb2b0b}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!get\+File@{get\+File}}
\index{get\+File@{get\+File}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{get\+File()}{getFile()}}
{\footnotesize\ttfamily const char$\ast$ Ogre\+::\+Exception\+::get\+File (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets source file name. 

\mbox{\Hypertarget{class_ogre_1_1_exception_a78036952769df04fdf2f051e506aa7bc}\label{class_ogre_1_1_exception_a78036952769df04fdf2f051e506aa7bc}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!get\+Line@{get\+Line}}
\index{get\+Line@{get\+Line}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{get\+Line()}{getLine()}}
{\footnotesize\ttfamily long Ogre\+::\+Exception\+::get\+Line (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets line number. 

\mbox{\Hypertarget{class_ogre_1_1_exception_a501b957a641840f1dc06d7b8d4657d19}\label{class_ogre_1_1_exception_a501b957a641840f1dc06d7b8d4657d19}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!get\+Description@{get\+Description}}
\index{get\+Description@{get\+Description}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{get\+Description()}{getDescription()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Exception\+::get\+Description (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns a string with only the \textquotesingle{}description\textquotesingle{} field of this exception. 

Use get\+Full\+Descriptionto get a full description of the error including line number, error number and what function threw the exception. \mbox{\Hypertarget{class_ogre_1_1_exception_a5323fd0394409fc11d86ac60491ea3e8}\label{class_ogre_1_1_exception_a5323fd0394409fc11d86ac60491ea3e8}} 
\index{Ogre\+::\+Exception@{Ogre\+::\+Exception}!what@{what}}
\index{what@{what}!Ogre\+::\+Exception@{Ogre\+::\+Exception}}
\subsubsection{\texorpdfstring{what()}{what()}}
{\footnotesize\ttfamily const char$\ast$ Ogre\+::\+Exception\+::what (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const throw  ) \hspace{0.3cm}{\ttfamily [inline]}}



Override std\+::exception\+::what. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_exception_8h}{Ogre\+Exception.\+h}\end{DoxyCompactItemize}
