Skip to content
Permalink
Browse files

Update doc for QgsBadRequestException

  • Loading branch information
pblottiere committed Jul 8, 2018
1 parent 75d44d9 commit 09ef8ea6bf63363100cc86646b47fbfe1f718a84
Showing with 19 additions and 0 deletions.
  1. +19 −0 src/server/services/wfs/qgswfsserviceexception.h
@@ -33,11 +33,18 @@ namespace QgsWfs
class QgsServiceException : public QgsOgcServiceException
{
public:

/**
* Constructor.
*/
QgsServiceException( const QString &code, const QString &message,
int responseCode = 200 )
: QgsOgcServiceException( code, message, QString(), responseCode, QStringLiteral( "1.2.0" ) )
{}

/**
* Constructor.
*/
QgsServiceException( const QString &code, const QString &message, const QString &locator,
int responseCode = 200 )
: QgsOgcServiceException( code, message, locator, responseCode, QStringLiteral( "1.2.0" ) )
@@ -54,6 +61,10 @@ namespace QgsWfs
class QgsSecurityAccessException: public QgsServiceException
{
public:

/**
* Constructor.
*/
QgsSecurityAccessException( const QString &message, const QString &locator = QString() )
: QgsServiceException( QStringLiteral( "Security" ), message, locator, 403 )
{}
@@ -67,6 +78,10 @@ namespace QgsWfs
class QgsRequestNotWellFormedException: public QgsServiceException
{
public:

/**
* Constructor.
*/
QgsRequestNotWellFormedException( const QString &message, const QString &locator = QString() )
: QgsServiceException( QStringLiteral( "RequestNotWellFormed" ), message, locator, 400 )
{}
@@ -80,6 +95,10 @@ namespace QgsWfs
class QgsBadRequestException: public QgsServiceException
{
public:

/**
* Constructor.
*/
QgsBadRequestException( const QString &code, const QString &message, const QString &locator = QString() )
: QgsServiceException( code, message, locator, 400 )
{}

0 comments on commit 09ef8ea

Please sign in to comment.
You can’t perform that action at this time.