@@ -36,15 +36,22 @@ namespace QgsWfs
36
36
public:
37
37
38
38
/* *
39
- * Constructor.
39
+ * Constructor for QgsServiceException.
40
+ * \param code Error code name
41
+ * \param message Exception message to return to the client
42
+ * \param responseCode HTTP error code
40
43
*/
41
44
QgsServiceException ( const QString &code, const QString &message,
42
45
int responseCode = 200 )
43
46
: QgsOgcServiceException( code, message, QString(), responseCode, QStringLiteral( " 1.2.0" ) )
44
47
{}
45
48
46
49
/* *
47
- * Constructor.
50
+ * Constructor for QgsServiceException.
51
+ * \param code Error code name
52
+ * \param message Exception message to return to the client
53
+ * \param locator Locator attribute according to OGC specifications
54
+ * \param responseCode HTTP error code
48
55
*/
49
56
QgsServiceException ( const QString &code, const QString &message, const QString &locator,
50
57
int responseCode = 200 )
@@ -64,7 +71,10 @@ namespace QgsWfs
64
71
public:
65
72
66
73
/* *
67
- * Constructor.
74
+ * Constructor for QgsSecurityAccessException (HTTP error code 403 with
75
+ * Security code name).
76
+ * \param message Exception message to return to the client
77
+ * \param locator Locator attribute according to OGC specifications
68
78
*/
69
79
QgsSecurityAccessException ( const QString &message, const QString &locator = QString() )
70
80
: QgsServiceException( QStringLiteral( " Security" ), message, locator, 403 )
@@ -82,7 +92,10 @@ namespace QgsWfs
82
92
public:
83
93
84
94
/* *
85
- * Constructor.
95
+ * Constructor for QgsRequestNotWellFormedException (HTTP error code 400
96
+ * with RequestNotWellFormed code name).
97
+ * \param message Exception message to return to the client
98
+ * \param locator Locator attribute according to OGC specifications
86
99
*/
87
100
QgsRequestNotWellFormedException ( const QString &message, const QString &locator = QString() )
88
101
: QgsServiceException( QStringLiteral( " RequestNotWellFormed" ), message, locator, 400 )
@@ -100,7 +113,10 @@ namespace QgsWfs
100
113
public:
101
114
102
115
/* *
103
- * Constructor.
116
+ * Constructor for QgsBadRequestException (HTTP error code 400).
117
+ * \param code Error code name
118
+ * \param message Exception message to return to the client
119
+ * \param locator Locator attribute according to OGC specifications
104
120
*/
105
121
QgsBadRequestException ( const QString &code, const QString &message, const QString &locator = QString() )
106
122
: QgsServiceException( code, message, locator, 400 )
0 commit comments