\hypertarget{classorg_1_1libelektra_1_1KDBException}{}\doxysection{org.\+libelektra.\+KDBException Class Reference}
\label{classorg_1_1libelektra_1_1KDBException}\index{org.libelektra.KDBException@{org.libelektra.KDBException}}


Wraps Elektra errors into the corresponding Java exceptions.  




Inherits Exception.



Inherited by org.\+libelektra.\+exception.\+Conflicting\+State\+Exception, org.\+libelektra.\+exception.\+Permanent\+Exception, and org.\+libelektra.\+exception.\+Validation\+Exception.

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a03b9823f8d2768624dcb2c4551663161}{get\+Error\+Number}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_aa3415ec7c47a55b92af2dbf83c41b7fb}{get\+Config\+File}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_af0f4103033d3252cf3955aa5070ebf2f}{get\+Mountpoint}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a09a1a224fadebbc0b0c1551631d71c00}{get\+Debug\+Information}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a3f9b5debc09a445175b2c52be652197c}{get\+Module}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_af47a19375e02cef9c811c2fc248a38c9}{get\+Reason}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a2562976ea858eff976e30f74a36559f0}{get\+Message}} ()
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a73a0cd1765374966f5832802e3aafea1}{has\+Warnings}} ()
\begin{DoxyCompactList}\small\item\em If an error occurred it may also has important warnings which caused the error. \end{DoxyCompactList}\item 
List$<$ Warning\+Entry $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a9900ac8fb290627db842f4e3f18c218b}{get\+Warnings}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a19989b7fade1873237e08877fea42e3d}{get\+Mapped\+Exception}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} error\+Key)
\begin{DoxyCompactList}\small\item\em Extracts warnings and error information and maps it to an appropriate exception. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException_a4f024c2feed9c146cec7110c53dedfeb}{KDBException}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} error\+Key)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Wraps Elektra errors into the corresponding Java exceptions. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a4f024c2feed9c146cec7110c53dedfeb}\label{classorg_1_1libelektra_1_1KDBException_a4f024c2feed9c146cec7110c53dedfeb}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!KDBException@{KDBException}}
\index{KDBException@{KDBException}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{KDBException()}{KDBException()}}
{\footnotesize\ttfamily org.\+libelektra.\+KDBException.\+KDBException (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{error\+Key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}


\begin{DoxyParams}{Parameters}
{\em error\+Key} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} containing
\begin{DoxyCode}{1}
\DoxyCodeLine{error\textcolor{comment}{/* }}

\end{DoxyCode}
 and
\begin{DoxyCode}{1}
\DoxyCodeLine{warnings\textcolor{comment}{/* }}

\end{DoxyCode}
 meta keys \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_aa3415ec7c47a55b92af2dbf83c41b7fb}\label{classorg_1_1libelektra_1_1KDBException_aa3415ec7c47a55b92af2dbf83c41b7fb}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getConfigFile@{getConfigFile}}
\index{getConfigFile@{getConfigFile}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getConfigFile()}{getConfigFile()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Config\+File (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
The affected configuration file of the error or if not available returns the error key name 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a09a1a224fadebbc0b0c1551631d71c00}\label{classorg_1_1libelektra_1_1KDBException_a09a1a224fadebbc0b0c1551631d71c00}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getDebugInformation@{getDebugInformation}}
\index{getDebugInformation@{getDebugInformation}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getDebugInformation()}{getDebugInformation()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Debug\+Information (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Elektra specific debug information in the form of \char`\"{}\+At\+: file\+:line\char`\"{} 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a03b9823f8d2768624dcb2c4551663161}\label{classorg_1_1libelektra_1_1KDBException_a03b9823f8d2768624dcb2c4551663161}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getErrorNumber@{getErrorNumber}}
\index{getErrorNumber@{getErrorNumber}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getErrorNumber()}{getErrorNumber()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Error\+Number (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Elektra error number read from the error key backing this exception 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a19989b7fade1873237e08877fea42e3d}\label{classorg_1_1libelektra_1_1KDBException_a19989b7fade1873237e08877fea42e3d}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getMappedException@{getMappedException}}
\index{getMappedException@{getMappedException}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getMappedException()}{getMappedException()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} org.\+libelektra.\+KDBException.\+get\+Mapped\+Exception (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{error\+Key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Extracts warnings and error information and maps it to an appropriate exception. 


\begin{DoxyParams}{Parameters}
{\em error\+Key} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} containing
\begin{DoxyCode}{1}
\DoxyCodeLine{error\textcolor{comment}{/* }}

\end{DoxyCode}
 and
\begin{DoxyCode}{1}
\DoxyCodeLine{warnings\textcolor{comment}{/* }}

\end{DoxyCode}
 meta keys \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} corresponding to the error information 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this
\begin{DoxyCode}{1}
\DoxyCodeLine{errorKey }

\end{DoxyCode}
 has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{errorKey }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a2562976ea858eff976e30f74a36559f0}\label{classorg_1_1libelektra_1_1KDBException_a2562976ea858eff976e30f74a36559f0}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getMessage@{getMessage}}
\index{getMessage@{getMessage}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getMessage()}{getMessage()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Message (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
The complete error information in a String with config file, mount point and debug information as it would be printed in the terminal 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a3f9b5debc09a445175b2c52be652197c}\label{classorg_1_1libelektra_1_1KDBException_a3f9b5debc09a445175b2c52be652197c}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getModule@{getModule}}
\index{getModule@{getModule}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getModule()}{getModule()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Module (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Module which issued the error 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_af0f4103033d3252cf3955aa5070ebf2f}\label{classorg_1_1libelektra_1_1KDBException_af0f4103033d3252cf3955aa5070ebf2f}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getMountpoint@{getMountpoint}}
\index{getMountpoint@{getMountpoint}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getMountpoint()}{getMountpoint()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Mountpoint (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Mountpoint of the configuration 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_af47a19375e02cef9c811c2fc248a38c9}\label{classorg_1_1libelektra_1_1KDBException_af47a19375e02cef9c811c2fc248a38c9}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getReason@{getReason}}
\index{getReason@{getReason}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getReason()}{getReason()}}
{\footnotesize\ttfamily String org.\+libelektra.\+KDBException.\+get\+Reason (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Error reason read from the error key backing this exception 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this error key backing this \mbox{\hyperlink{classorg_1_1libelektra_1_1KDBException}{KDBException}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a9900ac8fb290627db842f4e3f18c218b}\label{classorg_1_1libelektra_1_1KDBException_a9900ac8fb290627db842f4e3f18c218b}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!getWarnings@{getWarnings}}
\index{getWarnings@{getWarnings}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{getWarnings()}{getWarnings()}}
{\footnotesize\ttfamily List$<$Warning\+Entry$>$ org.\+libelektra.\+KDBException.\+get\+Warnings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Additional warnings emitted with the error 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KDBException_a73a0cd1765374966f5832802e3aafea1}\label{classorg_1_1libelektra_1_1KDBException_a73a0cd1765374966f5832802e3aafea1}} 
\index{org.libelektra.KDBException@{org.libelektra.KDBException}!hasWarnings@{hasWarnings}}
\index{hasWarnings@{hasWarnings}!org.libelektra.KDBException@{org.libelektra.KDBException}}
\doxysubsubsection{\texorpdfstring{hasWarnings()}{hasWarnings()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+KDBException.\+has\+Warnings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



If an error occurred it may also has important warnings which caused the error. 

\begin{DoxyReturn}{Returns}
True if additional warnings were emitted, false otherwise 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
KDBException.\+java\end{DoxyCompactItemize}
