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


This exception wraps \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{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 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a8fd8c0decfe1f1f6243407614d042101}{get\+Error\+Key}} ()
\begin{DoxyCompactList}\small\item\em Gets the error\+Key from \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}}. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a3d07f27121a4870471ea6927d93c04a9}{get\+Error\+Number}} ()
\begin{DoxyCompactList}\small\item\em Gets the error\+Number from \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}}. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_ad963bf071d65028200f13f18bc355472}{get\+Config\+File}} ()
\begin{DoxyCompactList}\small\item\em Returns the affected configuration file of the error. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a7595349ac675e5b57616020d512b82d2}{get\+Mountpoint}} ()
\begin{DoxyCompactList}\small\item\em Returns the mountpoint of the configuration. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_ad43f4032095b1bfa1dc5065c5e01f9bb}{get\+Debug\+Information}} ()
\begin{DoxyCompactList}\small\item\em Prints \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} specific debug information in the form of \char`\"{}\+At\+: file\+:line\char`\"{}. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a241bb6bc3b93677bc4b51d23b917f9d1}{get\+Module}} ()
\begin{DoxyCompactList}\small\item\em Returns the module which has thrown the error. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a80c8598787cff127a83290c87450dde0}{get\+Localized\+Message}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_ab3883ac714dca52759f08aaee708cab0}{get\+Reason}} ()
\begin{DoxyCompactList}\small\item\em Returns the error reason which is written to the {\ttfamily error/reason} metakey of the errorkey. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message()}} returns the thrown \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} error in the same format as it would be printed in the terminal \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a0387189fd5d08448c81a7777f80f8940}{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_1exception_1_1KDBException_ac2dcd24734f48de0f1b288b06e3a5383}{get\+Warnings}} ()
\begin{DoxyCompactList}\small\item\em Returns the warnings list. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a872741690ba68b12b14edc32e4675eef}{KDBException}} (final \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} k)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException}{KDBException}} which holds the error\+Key. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This exception wraps \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} errors into the corresponding Java Exceptions. 

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



\mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException}{KDBException}} which holds the error\+Key. 


\begin{DoxyParams}{Parameters}
{\em k} & The error\+Key \\
\hline
\end{DoxyParams}


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



Returns the affected configuration file of the error. 

It empty returns the parents \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} name

\begin{DoxyReturn}{Returns}
either the configuration file or if empty the parent key name 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_ad43f4032095b1bfa1dc5065c5e01f9bb}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_ad43f4032095b1bfa1dc5065c5e01f9bb}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getDebugInformation@{getDebugInformation}}
\index{getDebugInformation@{getDebugInformation}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getDebugInformation()}{getDebugInformation()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Debug\+Information (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Prints \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} specific debug information in the form of \char`\"{}\+At\+: file\+:line\char`\"{}. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} specific debug information in the form of \char`\"{}\+At\+: file\+:line\char`\"{} 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a8fd8c0decfe1f1f6243407614d042101}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a8fd8c0decfe1f1f6243407614d042101}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getErrorKey@{getErrorKey}}
\index{getErrorKey@{getErrorKey}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getErrorKey()}{getErrorKey()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+exception.\+KDBException.\+get\+Error\+Key (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Gets the error\+Key from \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}}. 

\begin{DoxyReturn}{Returns}
Error\+Key from \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a3d07f27121a4870471ea6927d93c04a9}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a3d07f27121a4870471ea6927d93c04a9}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getErrorNumber@{getErrorNumber}}
\index{getErrorNumber@{getErrorNumber}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getErrorNumber()}{getErrorNumber()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Error\+Number (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Gets the error\+Number from \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}}. 

\begin{DoxyReturn}{Returns}
Error\+Number from \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a80c8598787cff127a83290c87450dde0}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a80c8598787cff127a83290c87450dde0}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getLocalizedMessage@{getLocalizedMessage}}
\index{getLocalizedMessage@{getLocalizedMessage}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getLocalizedMessage()}{getLocalizedMessage()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Localized\+Message (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getMessage@{getMessage}}
\index{getMessage@{getMessage}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getMessage()}{getMessage()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Message (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\mbox{\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message()}} returns the thrown \mbox{\hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}} error in the same format as it would be printed in the terminal 

\begin{DoxyReturn}{Returns}
The complete error information in a String with configfile, moutpoint and debuginformation 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a241bb6bc3b93677bc4b51d23b917f9d1}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a241bb6bc3b93677bc4b51d23b917f9d1}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getModule@{getModule}}
\index{getModule@{getModule}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getModule()}{getModule()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Module (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Returns the module which has thrown the error. 

\begin{DoxyReturn}{Returns}
the module which has thrown the error 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a7595349ac675e5b57616020d512b82d2}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a7595349ac675e5b57616020d512b82d2}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getMountpoint@{getMountpoint}}
\index{getMountpoint@{getMountpoint}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getMountpoint()}{getMountpoint()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Mountpoint (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Returns the mountpoint of the configuration. 

\begin{DoxyReturn}{Returns}
the mountpoint of the configuration 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_ab3883ac714dca52759f08aaee708cab0}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_ab3883ac714dca52759f08aaee708cab0}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getReason@{getReason}}
\index{getReason@{getReason}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getReason()}{getReason()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+KDBException.\+get\+Reason (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Returns the error reason which is written to the {\ttfamily error/reason} metakey of the errorkey. 

\begin{DoxyReturn}{Returns}
The reason for the error 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_ac2dcd24734f48de0f1b288b06e3a5383}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_ac2dcd24734f48de0f1b288b06e3a5383}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!getWarnings@{getWarnings}}
\index{getWarnings@{getWarnings}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{getWarnings()}{getWarnings()}}
{\footnotesize\ttfamily List$<$Warning\+Entry$>$ org.\+libelektra.\+exception.\+KDBException.\+get\+Warnings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Returns the warnings list. 

\begin{DoxyReturn}{Returns}
the warnings list 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException_a0387189fd5d08448c81a7777f80f8940}\label{classorg_1_1libelektra_1_1exception_1_1KDBException_a0387189fd5d08448c81a7777f80f8940}} 
\index{org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}!hasWarnings@{hasWarnings}}
\index{hasWarnings@{hasWarnings}!org.libelektra.exception.KDBException@{org.libelektra.exception.KDBException}}
\doxysubsubsection{\texorpdfstring{hasWarnings()}{hasWarnings()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+exception.\+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. 

This method checks if they are available

\begin{DoxyReturn}{Returns}
true if additional warnings were emitted 
\end{DoxyReturn}


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