Skip to content

Commit 77af2ca

Browse files
committedJul 23, 2018
Add doc for QgsBadRequestException
1 parent ffddc9a commit 77af2ca

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎python/server/auto_generated/qgsserverexception.sip.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ Returns the exception version
9494
};
9595

9696

97-
9897
/************************************************************************
9998
* This file has been generated automatically from *
10099
* *

‎src/server/qgsserverexception.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,17 @@ class SERVER_EXPORT QgsOgcServiceException
114114
class SERVER_EXPORT QgsBadRequestException: public QgsOgcServiceException
115115
{
116116
public:
117+
118+
/**
119+
* Constructor for QgsBadRequestException (HTTP error code 400).
120+
* \param code Error code name
121+
* \param message Exception message to return to the client
122+
* \param locator Locator attribute according to OGC specifications
123+
*/
117124
QgsBadRequestException( const QString &code, const QString &message, const QString &locator = QString() )
118125
: QgsOgcServiceException( code, message, locator, 400 )
119126
{}
120127
};
121128
#endif
122129

123130
#endif
124-

0 commit comments

Comments
 (0)
Please sign in to comment.