\hypertarget{classorg_1_1libelektra_1_1exception_1_1KDBException}{}\section{org.\+libelektra.\+exception.\+K\+D\+B\+Exception Class Reference}
\label{classorg_1_1libelektra_1_1exception_1_1KDBException}\index{org.\+libelektra.\+exception.\+K\+D\+B\+Exception@{org.\+libelektra.\+exception.\+K\+D\+B\+Exception}}


This exception wraps \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.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classorg_1_1libelektra_1_1Key}{Key} \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a8fd8c0decfe1f1f6243407614d042101}{get\+Error\+Key} ()
\begin{DoxyCompactList}\small\item\em Gets the error\+Key from \hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}. \end{DoxyCompactList}\item 
String \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a3d07f27121a4870471ea6927d93c04a9}{get\+Error\+Number} ()
\begin{DoxyCompactList}\small\item\em Gets the error\+Number from \hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra}. \end{DoxyCompactList}\item 
String \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 \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 \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_ad43f4032095b1bfa1dc5065c5e01f9bb}{get\+Debug\+Information} ()
\begin{DoxyCompactList}\small\item\em Prints \hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra} specific debug information in the form of \char`\"{}\+At\+: file\+:line\char`\"{}. \end{DoxyCompactList}\item 
String \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 \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a80c8598787cff127a83290c87450dde0}{get\+Localized\+Message} ()
\item 
String \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 \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message} ()
\begin{DoxyCompactList}\small\item\em \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message()} returns the thrown \hyperlink{interfaceorg_1_1libelektra_1_1Elektra}{Elektra} error in the same format as it would be printed in the terminal \end{DoxyCompactList}\item 
boolean \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 $>$ \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_ac2dcd24734f48de0f1b288b06e3a5383}{get\+Warnings} ()
\begin{DoxyCompactList}\small\item\em Returns the warnings list. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a872741690ba68b12b14edc32e4675eef}{K\+D\+B\+Exception} (final \hyperlink{classorg_1_1libelektra_1_1Key}{Key} k)
\begin{DoxyCompactList}\small\item\em \hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException}{K\+D\+B\+Exception} which holds the error\+Key. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

\subsection{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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!K\+D\+B\+Exception@{K\+D\+B\+Exception}}
\index{K\+D\+B\+Exception@{K\+D\+B\+Exception}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{K\+D\+B\+Exception()}{KDBException()}}
{\footnotesize\ttfamily org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+K\+D\+B\+Exception (\begin{DoxyParamCaption}\item[{final \hyperlink{classorg_1_1libelektra_1_1Key}{Key}}]{k }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException}{K\+D\+B\+Exception} which holds the error\+Key. 


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


\subsection{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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Config\+File@{get\+Config\+File}}
\index{get\+Config\+File@{get\+Config\+File}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Config\+File()}{getConfigFile()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+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 \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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Debug\+Information@{get\+Debug\+Information}}
\index{get\+Debug\+Information@{get\+Debug\+Information}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Debug\+Information()}{getDebugInformation()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+get\+Debug\+Information (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



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

\begin{DoxyReturn}{Returns}
\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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Error\+Key@{get\+Error\+Key}}
\index{get\+Error\+Key@{get\+Error\+Key}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Error\+Key()}{getErrorKey()}}
{\footnotesize\ttfamily \hyperlink{classorg_1_1libelektra_1_1Key}{Key} org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+get\+Error\+Key (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



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

\begin{DoxyReturn}{Returns}
Error\+Key from \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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Error\+Number@{get\+Error\+Number}}
\index{get\+Error\+Number@{get\+Error\+Number}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Error\+Number()}{getErrorNumber()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+get\+Error\+Number (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



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

\begin{DoxyReturn}{Returns}
Error\+Number from \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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Localized\+Message@{get\+Localized\+Message}}
\index{get\+Localized\+Message@{get\+Localized\+Message}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Localized\+Message()}{getLocalizedMessage()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+get\+Localized\+Message (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxySeeAlso}{See also}
\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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Message@{get\+Message}}
\index{get\+Message@{get\+Message}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Message()}{getMessage()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+get\+Message (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\hyperlink{classorg_1_1libelektra_1_1exception_1_1KDBException_a78bbf7b7767f90840ba6bdb22bebfe11}{get\+Message()} returns the thrown \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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Module@{get\+Module}}
\index{get\+Module@{get\+Module}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Module()}{getModule()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Mountpoint@{get\+Mountpoint}}
\index{get\+Mountpoint@{get\+Mountpoint}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Mountpoint()}{getMountpoint()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Reason@{get\+Reason}}
\index{get\+Reason@{get\+Reason}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Reason()}{getReason()}}
{\footnotesize\ttfamily String org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!get\+Warnings@{get\+Warnings}}
\index{get\+Warnings@{get\+Warnings}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{get\+Warnings()}{getWarnings()}}
{\footnotesize\ttfamily List$<$Warning\+Entry$>$ org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+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\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}!has\+Warnings@{has\+Warnings}}
\index{has\+Warnings@{has\+Warnings}!org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception@{org\+::libelektra\+::exception\+::\+K\+D\+B\+Exception}}
\subsubsection{\texorpdfstring{has\+Warnings()}{hasWarnings()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+exception.\+K\+D\+B\+Exception.\+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 
K\+D\+B\+Exception.\+java\end{DoxyCompactItemize}
