Diffstat (limited to 'include/sitecing/exception.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | include/sitecing/exception.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sitecing/exception.h b/include/sitecing/exception.h index 857a8e6..ccc7edd 100644 --- a/include/sitecing/exception.h +++ b/include/sitecing/exception.h @@ -1,44 +1,47 @@ #ifndef __SITECING_EXCEPTION_H #define __SITECING_EXCEPTION_H +#include <string> + /** * @file * @brief The site-C-ing specific exceptions. */ /** * @brief The main site-C-ing namespace. */ namespace sitecing { + using std::string; // TODO: status specifics /** * The http status to return. */ class http_status { public: /** * The status string. */ string status; /** * The message to follow the status string. */ string message; /** * @param s HTTP status. * @param m HTTP status message. */ http_status(const string& s,const string& m) : status(s), message(m) { } virtual ~http_status() throw() { } }; // per RFC 2616 /** * Informational. */ class http_status_1xx : public http_status { |