\hypertarget{class_ogre_1_1_exception}{}\doxysection{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}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}{Exception\+Codes}} \{ \newline
\mbox{\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}}, 
\mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9d61f90f76dd3e119d608876ea5f7957}{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+S\+T\+A\+TE}}, 
\mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba359c10b8abe9abf39f84550a903e4698}{E\+R\+R\+\_\+\+I\+N\+V\+A\+L\+I\+D\+P\+A\+R\+A\+MS}}, 
\mbox{\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
\mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba932168f4c4ae1a90391233de8a21ab1a}{E\+R\+R\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+I\+T\+EM}}, 
\mbox{\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, 
\mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba65ef64423bae408d90e0af0166bac152}{E\+R\+R\+\_\+\+F\+I\+L\+E\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}}, 
\mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba946e7d147a09d8db65b6143d1d348c99}{E\+R\+R\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L\+\_\+\+E\+R\+R\+OR}}, 
\newline
\mbox{\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}}, 
\mbox{\hyperlink{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29ba9e2cd2d2436678236e339e6a42887090}{E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}}, 
\mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_exception_a82249d342184fd23af4dd1c0ac589c57}{Exception}} (const \mbox{\hyperlink{class_ogre_1_1_exception}{Exception}} \&rhs)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_exception_adc5a5e5eb027cdd0591566d2518cc3fd}{Exception}} (int number, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&description, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&source)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_exception_aaa6e0d203a91b43870058082aeb34428}{Exception}} (int number, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&description, const \mbox{\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 
\mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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$ \mbox{\hyperlink{class_ogre_1_1_exception_a9ad9f9be38cc58f50079f8163feb2b0b}{get\+File}} () const
\begin{DoxyCompactList}\small\item\em Gets source file name. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_exception_a78036952769df04fdf2f051e506aa7bc}{get\+Line}} () const
\begin{DoxyCompactList}\small\item\em Gets line number. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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$ \mbox{\hyperlink{class_ogre_1_1_exception_a5323fd0394409fc11d86ac60491ea3e8}{what}} () const  throw ()
\begin{DoxyCompactList}\small\item\em Override std\+::exception\+::what. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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}


\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}\label{class_ogre_1_1_exception_a9bdf9b8a0a83b95818d676848beaa29b}} 
\index{Ogre::Exception@{Ogre::Exception}!ExceptionCodes@{ExceptionCodes}}
\index{ExceptionCodes@{ExceptionCodes}!Ogre::Exception@{Ogre::Exception}}
\doxysubsubsection{\texorpdfstring{ExceptionCodes}{ExceptionCodes}}
{\footnotesize\ttfamily enum \mbox{\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{ERR\_CANNOT\_WRITE\_TO\_FILE@{ERR\_CANNOT\_WRITE\_TO\_FILE}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_CANNOT\_WRITE\_TO\_FILE@{ERR\_CANNOT\_WRITE\_TO\_FILE}}}\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{ERR\_INVALID\_STATE@{ERR\_INVALID\_STATE}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_INVALID\_STATE@{ERR\_INVALID\_STATE}}}\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{ERR\_INVALIDPARAMS@{ERR\_INVALIDPARAMS}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_INVALIDPARAMS@{ERR\_INVALIDPARAMS}}}\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{ERR\_RENDERINGAPI\_ERROR@{ERR\_RENDERINGAPI\_ERROR}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_RENDERINGAPI\_ERROR@{ERR\_RENDERINGAPI\_ERROR}}}\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{ERR\_DUPLICATE\_ITEM@{ERR\_DUPLICATE\_ITEM}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_DUPLICATE\_ITEM@{ERR\_DUPLICATE\_ITEM}}}\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{ERR\_ITEM\_NOT\_FOUND@{ERR\_ITEM\_NOT\_FOUND}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_ITEM\_NOT\_FOUND@{ERR\_ITEM\_NOT\_FOUND}}}\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{ERR\_FILE\_NOT\_FOUND@{ERR\_FILE\_NOT\_FOUND}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_FILE\_NOT\_FOUND@{ERR\_FILE\_NOT\_FOUND}}}\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{ERR\_INTERNAL\_ERROR@{ERR\_INTERNAL\_ERROR}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_INTERNAL\_ERROR@{ERR\_INTERNAL\_ERROR}}}\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{ERR\_RT\_ASSERTION\_FAILED@{ERR\_RT\_ASSERTION\_FAILED}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_RT\_ASSERTION\_FAILED@{ERR\_RT\_ASSERTION\_FAILED}}}\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{ERR\_NOT\_IMPLEMENTED@{ERR\_NOT\_IMPLEMENTED}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_NOT\_IMPLEMENTED@{ERR\_NOT\_IMPLEMENTED}}}\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{ERR\_INVALID\_CALL@{ERR\_INVALID\_CALL}!Ogre::Exception@{Ogre::Exception}}\index{Ogre::Exception@{Ogre::Exception}!ERR\_INVALID\_CALL@{ERR\_INVALID\_CALL}}}\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}


\doxysubsection{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}}
\doxysubsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::\+Exception (\begin{DoxyParamCaption}\item[{int}]{number,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{description,  }\item[{const \mbox{\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}}
\doxysubsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::\+Exception (\begin{DoxyParamCaption}\item[{int}]{number,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{description,  }\item[{const \mbox{\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}}
\doxysubsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Ogre\+::\+Exception\+::\+Exception (\begin{DoxyParamCaption}\item[{const \mbox{\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}}
\doxysubsubsection{\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. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_exception_af6e85a048732d785797152da81a2706c}\label{class_ogre_1_1_exception_af6e85a048732d785797152da81a2706c}} 
\index{Ogre::Exception@{Ogre::Exception}!getFullDescription@{getFullDescription}}
\index{getFullDescription@{getFullDescription}!Ogre::Exception@{Ogre::Exception}}
\doxysubsubsection{\texorpdfstring{getFullDescription()}{getFullDescription()}}
{\footnotesize\ttfamily virtual const \mbox{\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 \mbox{\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}!getSource@{getSource}}
\index{getSource@{getSource}!Ogre::Exception@{Ogre::Exception}}
\doxysubsubsection{\texorpdfstring{getSource()}{getSource()}}
{\footnotesize\ttfamily const \mbox{\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}!getFile@{getFile}}
\index{getFile@{getFile}!Ogre::Exception@{Ogre::Exception}}
\doxysubsubsection{\texorpdfstring{getFile()}{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}!getLine@{getLine}}
\index{getLine@{getLine}!Ogre::Exception@{Ogre::Exception}}
\doxysubsubsection{\texorpdfstring{getLine()}{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}!getDescription@{getDescription}}
\index{getDescription@{getDescription}!Ogre::Exception@{Ogre::Exception}}
\doxysubsubsection{\texorpdfstring{getDescription()}{getDescription()}}
{\footnotesize\ttfamily const \mbox{\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}}
\doxysubsubsection{\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 
\mbox{\hyperlink{_ogre_exception_8h}{Ogre\+Exception.\+h}}\end{DoxyCompactItemize}
