Skip to content

Commit 856e4de

Browse files
committed
Set exception moved to public
1 parent 8b861f9 commit 856e4de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/server/qgsrequesthandler.sip

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ class QgsRequestHandler
6262
QString format() const;
6363
/**Return the format string as requested by the client*/
6464
QString infoFormat() const;
65+
/**Allow plugins to return a QgsMapServiceException*/
66+
virtual void setServiceException( QgsMapServiceException ex /Transfer/) = 0;
6567

6668
private:
6769

@@ -77,7 +79,6 @@ private:
7779
virtual void setGetMapResponse( const QString& service, QImage* img, int imageQuality ) = 0;
7880
virtual void setGetCapabilitiesResponse( const QDomDocument& doc ) = 0;
7981
virtual void setGetFeatureInfoResponse( const QDomDocument& infoDoc, const QString& infoFormat ) = 0;
80-
virtual void setServiceException( QgsMapServiceException ex ) = 0;
8182
virtual void setGetStyleResponse( const QDomDocument& doc ) = 0;
8283
virtual void setGetPrintResponse( QByteArray* ba ) = 0;
8384
virtual bool startGetFeatureResponse( QByteArray* ba, const QString& infoFormat ) = 0;

0 commit comments

Comments
 (0)