Skip to content
Permalink
Browse files

Add doc for QgsBadRequestException

  • Loading branch information
pblottiere committed Jul 19, 2018
1 parent ffddc9a commit 77af2ca08dcc5b5e74504b52cbeca33d3d18e28a
Showing with 7 additions and 2 deletions.
  1. +0 −1 python/server/auto_generated/qgsserverexception.sip.in
  2. +7 −1 src/server/qgsserverexception.h
@@ -94,7 +94,6 @@ Returns the exception version
};



/************************************************************************
* This file has been generated automatically from *
* *
@@ -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.
You can’t perform that action at this time.