18 #ifndef QGSWMSSERVICEEXCEPTION_H 19 #define QGSWMSSERVICEEXCEPTION_H QString locator() const
Returns the locator.
Exception base class for service exceptions.
QgsSecurityException(const QString &message, const QString &locator=QString())
Constructor for QgsSecurityException (HTTP error code 403 with Security code name).
Exception thrown in case of malformed request.
QgsBadRequestException(const QString &code, const QString &message, const QString &locator=QString())
Constructor for QgsBadRequestException (HTTP error code 400).
Exception class for WMS service exceptions.
Median cut implementation.
QgsServiceException(const QString &code, const QString &message, int responseCode)
Constructor for QgsServiceException (empty locator attribute).
Exception thrown when data access violates access controls.
QString code() const
Returns the exception code.
QgsServiceException(const QString &code, const QString &message, const QString &locator=QString(), int responseCode=200)
Constructor for QgsServiceException.
QString message() const
Returns the exception message.