Skip to content
Permalink
Browse files

Remove old constructor

  • Loading branch information
pblottiere committed Mar 28, 2019
1 parent cbe73c1 commit bf02a05b01c00dff67e64765da48961f0915a233
@@ -1831,7 +1831,7 @@ namespace QgsWms

void QgsWmsParameters::raiseError( const QString &msg ) const
{
throw QgsBadRequestException( QStringLiteral( "Invalid WMS Parameter" ), msg );
throw QgsBadRequestException( QgsServiceException::QGIS_INVALID_PARAMETER_VALUE, msg );
}

QgsWmsParameter QgsWmsParameters::idParameter( const QgsWmsParameter::Name name, const int id ) const
@@ -217,10 +217,6 @@ namespace QgsWms
* \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() )
: QgsServiceException( code, message, locator, 400 )
{}

QgsBadRequestException( ExceptionCode code, const QString &message )
: QgsServiceException( code, message, 400 )
{}

0 comments on commit bf02a05

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