summaryrefslogtreecommitdiffabout
path: root/include/opkele/exception.h
Unidiff
Diffstat (limited to 'include/opkele/exception.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/exception.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/opkele/exception.h b/include/opkele/exception.h
index c5f5811..9fc9bd3 100644
--- a/include/opkele/exception.h
+++ b/include/opkele/exception.h
@@ -202,9 +202,19 @@ namespace opkele {
202 string _curl_string; 202 string _curl_string;
203 exception_curl(OPKELE_E_PARS); 203 exception_curl(OPKELE_E_PARS);
204 exception_curl(OPKELE_E_PARS,CURLcode e); 204 exception_curl(OPKELE_E_PARS,CURLcode e);
205 ~exception_curl() throw() { } 205 ~exception_curl() throw() { }
206 }; 206 };
207 207
208 /**
209 * not implemented (think pure virtual) member function executed, signfies
210 * programmer error
211 */
212 class not_implemented : public exception {
213 public:
214 not_implemented(OPKELE_E_PARS)
215 : exception(OPKELE_E_CONS) { }
216 };
217
208} 218}
209 219
210#endif /* __OPKELE_EXCEPTION_H */ 220#endif /* __OPKELE_EXCEPTION_H */