summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-03-04 01:14:24 (UTC)
committer Michael Krelin <hacker@klever.net>2007-03-04 01:14:24 (UTC)
commitd0540221d96199532046182649610c8d42252be1 (patch) (side-by-side diff)
tree35faaf1074f5718702539518ee8dd3f09098bc41
parent8677376c6669ad29bf24e237f626fd8296558f9b (diff)
downloadsitecing-d0540221d96199532046182649610c8d42252be1.zip
sitecing-d0540221d96199532046182649610c8d42252be1.tar.gz
sitecing-d0540221d96199532046182649610c8d42252be1.tar.bz2
doxygen update
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/exception.h275
1 files changed, 275 insertions, 0 deletions
diff --git a/include/sitecing/exception.h b/include/sitecing/exception.h
index 985fc6d..857a8e6 100644
--- a/include/sitecing/exception.h
+++ b/include/sitecing/exception.h
@@ -45,2 +45,6 @@ namespace sitecing {
public:
+ /**
+ * @param s HTTP status
+ * @param m HTTP status message
+ */
explicit http_status_1xx(const string &s,const string& m)
@@ -53,2 +57,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_100(const string& m)
@@ -63,2 +70,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_101(const string& m)
@@ -74,2 +84,6 @@ namespace sitecing {
public:
+ /**
+ * @param s HTTP status message
+ * @param m HTTP status message
+ */
explicit http_status_2xx(const string& s,const string& m)
@@ -82,2 +96,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_200(const string& m)
@@ -92,2 +109,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_201(const string& m)
@@ -102,2 +122,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_202(const string& m)
@@ -112,2 +135,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_203(const string& m)
@@ -122,2 +148,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_204(const string& m)
@@ -132,2 +161,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_205(const string& m)
@@ -142,2 +174,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_206(const string& m)
@@ -153,2 +188,6 @@ namespace sitecing {
public:
+ /**
+ * @param s HTTP status
+ * @param m HTTP status message
+ */
explicit http_status_3xx(const string& s,const string& m)
@@ -161,2 +200,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_300(const string& m)
@@ -171,2 +213,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_301(const string& m)
@@ -181,2 +226,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_302(const string& m)
@@ -191,2 +239,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_303(const string& m)
@@ -201,2 +252,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_304(const string& m)
@@ -211,2 +265,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_305(const string& m)
@@ -222,2 +279,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_307(const string& m)
@@ -233,2 +293,6 @@ namespace sitecing {
public:
+ /**
+ * @param s HTTP status
+ * @param m HTTP status message
+ */
explicit http_status_4xx(const string& s,const string& m)
@@ -241,2 +305,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_400(const string& m)
@@ -251,2 +318,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_401(const string& m)
@@ -261,2 +331,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_402(const string& m)
@@ -271,2 +344,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_403(const string& m)
@@ -281,2 +357,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_404(const string& m)
@@ -291,2 +370,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_405(const string& m)
@@ -301,2 +383,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_406(const string& m)
@@ -311,2 +396,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_407(const string& m)
@@ -321,2 +409,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_408(const string& m)
@@ -331,2 +422,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_409(const string& m)
@@ -341,2 +435,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_410(const string& m)
@@ -351,2 +448,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_411(const string& m)
@@ -361,2 +461,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_412(const string& m)
@@ -371,2 +474,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_413(const string& m)
@@ -381,2 +487,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_414(const string& m)
@@ -391,2 +500,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_415(const string& m)
@@ -401,2 +513,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_416(const string& m)
@@ -411,2 +526,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_417(const string& m)
@@ -422,2 +540,6 @@ namespace sitecing {
public:
+ /**
+ * @param s HTTP status
+ * @param m HTTP status message
+ */
explicit http_status_5xx(const string& s,const string& m)
@@ -430,2 +552,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_500(const string& m)
@@ -440,2 +565,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_501(const string& m)
@@ -450,2 +578,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_502(const string& m)
@@ -460,2 +591,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_503(const string& m)
@@ -470,2 +604,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_504(const string& m)
@@ -480,2 +617,5 @@ namespace sitecing {
public:
+ /**
+ * @param m HTTP status message
+ */
explicit http_status_505(const string& m)
@@ -488,51 +628,186 @@ namespace sitecing {
+ /**
+ * Convenience alias for informational http status exceptions
+ */
typedef http_status_1xx http_status_informational;
+ /**
+ * @see http_status_100
+ */
typedef http_status_100 http_status_continue;
+ /**
+ * @see http_status_101
+ */
typedef http_status_101 http_status_switching_protocols;
+ /**
+ * Convenience alias for success http status exceptions
+ */
typedef http_status_2xx http_status_sucessful;
+ /**
+ * @see http_status_200
+ */
typedef http_status_200 http_status_ok;
+ /**
+ * @see http_status_201
+ */
typedef http_status_201 http_status_created;
+ /**
+ * @see http_status_202
+ */
typedef http_status_202 http_status_accepted;
+ /**
+ * @see http_status_203
+ */
typedef http_status_203 http_status_non_authoritative_information;
+ /**
+ * @see http_status_204
+ */
typedef http_status_204 http_status_no_content;
+ /**
+ * @see http_status_205
+ */
typedef http_status_205 http_status_reset_content;
+ /**
+ * @see http_status_206
+ */
typedef http_status_206 http_status_partial_content;
+ /**
+ * Convenience alias for redirection http status exceptions
+ */
typedef http_status_3xx http_status_redirection;
+ /**
+ * @see http_status_200
+ */
typedef http_status_300 http_status_multiple_choices;
+ /**
+ * @see http_status_301
+ */
typedef http_status_301 http_status_moved_permanently;
+ /**
+ * @see http_status_302
+ */
typedef http_status_302 http_status_found;
+ /**
+ * @see http_status_303
+ */
typedef http_status_303 http_status_see_other;
+ /**
+ * @see http_status_304
+ */
typedef http_status_304 http_status_not_modified;
+ /**
+ * @see http_status_305
+ */
typedef http_status_305 http_status_use_proxy;
// 306 is unused and reserved
+ /**
+ * @see http_status_307
+ */
typedef http_status_307 http_status_temporary_redirect;
+ /**
+ * Convenience alias for client error http exceptions
+ */
typedef http_status_4xx http_status_client_error;
+ /**
+ * @see http_status_400
+ */
typedef http_status_400 http_status_bad_request;
+ /**
+ * @see http_status_401
+ */
typedef http_status_401 http_status_unauthorized;
+ /**
+ * @see http_status_402
+ */
typedef http_status_402 http_status_payment_required;
+ /**
+ * @see http_status_403
+ */
typedef http_status_403 http_status_forbidden;
+ /**
+ * @see http_status_404
+ */
typedef http_status_404 http_status_not_found;
+ /**
+ * @see http_status_405
+ */
typedef http_status_405 http_status_method_not_allowed;
+ /**
+ * @see http_status_406
+ */
typedef http_status_406 http_status_not_acceptable;
+ /**
+ * @see http_status_407
+ */
typedef http_status_407 http_status_proxy_authentication_required;
+ /**
+ * @see http_status_408
+ */
typedef http_status_408 http_status_request_timeout;
+ /**
+ * @see http_status_409
+ */
typedef http_status_409 http_status_conflict;
+ /**
+ * @see http_status_410
+ */
typedef http_status_410 http_status_gone;
+ /**
+ * @see http_status_411
+ */
typedef http_status_411 http_status_length_required;
+ /**
+ * @see http_status_412
+ */
typedef http_status_412 http_status_precondition_failed;
+ /**
+ * @see http_status_413
+ */
typedef http_status_413 http_status_request_entity_too_large;
+ /**
+ * @see http_status_414
+ */
typedef http_status_414 http_status_requrest_uri_too_long;
+ /**
+ * @see http_status_415
+ */
typedef http_status_415 http_status_unsupported_media_type;
+ /**
+ * @see http_status_416
+ */
typedef http_status_416 http_status_required_range_not_satisfiable;
+ /**
+ * @see http_status_417
+ */
typedef http_status_417 http_status_expectation_failed;
+ /**
+ * Convenience alias for server error http exceptions
+ */
typedef http_status_5xx http_status_server_error;
+ /**
+ * @see http_status_500
+ */
typedef http_status_500 http_status_internal_server_error;
+ /**
+ * @see http_status_501
+ */
typedef http_status_501 http_status_not_implemented;
+ /**
+ * @see http_status_502
+ */
typedef http_status_502 http_status_bad_gateway;
+ /**
+ * @see http_status_503
+ */
typedef http_status_503 http_status_service_unavailable;
+ /**
+ * @see http_status_504
+ */
typedef http_status_504 http_status_gateway_timeout;
+ /**
+ * @see http_status_505
+ */
typedef http_status_505 http_status_http_version_not_supported;