From 0942697ed6ee058809db963f9cc3126f93139de2 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 31 Mar 2005 22:06:45 +0000 Subject: 1. renamed url_escape/unescape to encode/decode 2. introduced a number of wrappers for accessing meta-variables mentioned in RFC3875 3. bumped library version info --- (limited to 'include/kingate/exception.h') diff --git a/include/kingate/exception.h b/include/kingate/exception.h index 6ebb361..85d89ea 100644 --- a/include/kingate/exception.h +++ b/include/kingate/exception.h @@ -36,6 +36,15 @@ namespace kingate { exception_notfound(const string& fi,const string& fu,int l,const string& w) : exception(fi,fu,l,w) { } }; + + /** + * Thrown in case of unexpected server behaviour. + */ + class server_error : public exception { + public: + server_error(const string& fi,const string& fu,int l,const string& w) + : exception(fi,fu,l,w) { } + }; } #endif /* __KINGATE_EXCEPTION_H */ -- cgit v0.9.0.2