Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add doc for QgsBadRequestException
  • Loading branch information
pblottiere committed Jul 23, 2018
1 parent ffddc9a commit 77af2ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion python/server/auto_generated/qgsserverexception.sip.in
Expand Up @@ -94,7 +94,6 @@ Returns the exception version
};



/************************************************************************
* This file has been generated automatically from *
* *
Expand Down
8 changes: 7 additions & 1 deletion src/server/qgsserverexception.h
Expand Up @@ -114,11 +114,17 @@ class SERVER_EXPORT QgsOgcServiceException
class SERVER_EXPORT QgsBadRequestException: public QgsOgcServiceException
{
public:

/**
* Constructor for QgsBadRequestException (HTTP error code 400).
* \param code Error code name
* \param message Exception message to return to the client
* \param locator Locator attribute according to OGC specifications
*/
QgsBadRequestException( const QString &code, const QString &message, const QString &locator = QString() )
: QgsOgcServiceException( code, message, locator, 400 )
{}
};
#endif

#endif

0 comments on commit 77af2ca

Please sign in to comment.