Skip to content

Commit

Permalink
Remove unused qgis exception code
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 29, 2019
1 parent 8944465 commit 7e39226
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/server/services/wms/qgswmsserviceexception.h
Expand Up @@ -38,6 +38,12 @@ namespace QgsWms
Q_GADGET

public:

/**
* Exception codes as defined in OGC scpecifications for WMS 1.1.1 and
* WMS 1.3.0. Some custom QGIS codes are defined too.
* \since QGIS 3.8
*/
enum ExceptionCode
{
OGC_INVALID_FORMAT,
Expand All @@ -53,8 +59,7 @@ namespace QgsWms
OGC_INVALID_CRS, // new in WMS 1.3.0
OGC_OPERATION_NOT_SUPPORTED, // new in WMS 1.3.0
QGIS_MISSING_PARAMETER_VALUE,
QGIS_INVALID_PARAMETER_VALUE,
QGIS_ERROR
QGIS_INVALID_PARAMETER_VALUE
};
Q_ENUM( ExceptionCode )

Expand Down Expand Up @@ -156,7 +161,6 @@ namespace QgsWms
case OGC_MISSING_DIMENSION_VALUE:
case OGC_INVALID_DIMENSION_VALUE:
case OGC_OPERATION_NOT_SUPPORTED:
case QGIS_ERROR:
{
break;
}
Expand Down

0 comments on commit 7e39226

Please sign in to comment.