Aller à la documentation de ce fichier.
46 #ifndef SERVICE_EXCEPTION_H
47 #define SERVICE_EXCEPTION_H
290 return this->service ;
302 return this->format ;
319 #endif // SERVICE_EXCEPTION_H
@ WMTS_TILE_OUT_OF_RANGE
Definition: ServiceException.h:139
ExceptionCode getCode()
Retourne le code de l'erreur.
Definition: ServiceException.h:313
@ WMS_LAYER_NOT_QUERYABLE
Definition: ServiceException.h:109
@ OWS_VERSION_NEGOTIATION_FAILED
Definition: ServiceException.h:74
std::string toString()
Génère la chaîne de caracteres relative à l'exception décrite par l'objet.
Definition: ServiceException.cpp:175
@ WMS_INVALID_POINT
Definition: ServiceException.h:114
@ HTTP_NOT_FOUND
Definition: ServiceException.h:144
Gestion des exceptions de service.
Definition: ServiceException.h:188
@ WMS_INVALID_CRS
Definition: ServiceException.h:94
@ INTERNAL_SERVER_ERROR
Definition: ServiceException.h:164
@ OWS_OPERATION_NOT_SUPORTED
Definition: ServiceException.h:134
static std::string getCodeAsString(ExceptionCode code)
Retourne le code d'erreur sous forme de texte.
Definition: ServiceException.cpp:52
@ OWS_NOAPPLICABLE_CODE
Definition: ServiceException.h:84
@ SERVICE_UNAVAILABLE
Definition: ServiceException.h:169
std::string getService()
Retourne le nom du service.
Definition: ServiceException.h:289
@ ADMIN_BAD_REQUEST
Definition: ServiceException.h:159
@ WMS_CURRENT_UPDATESEQUENCE
Definition: ServiceException.h:119
@ OWS_MISSING_PARAMETER_VALUE
Definition: ServiceException.h:64
ExceptionCode
Codes d'exceptions definis par les specifications WMS, OWS et HTTP.
Definition: ServiceException.h:59
@ WMS_LAYER_NOT_DEFINED
Definition: ServiceException.h:99
std::string getFormat()
Retourne le format du message.
Definition: ServiceException.h:301
@ WMS_MISSING_DIMENSION_VALUE
Definition: ServiceException.h:124
@ OWS_INVALID_UPDATESEQUENCE
Definition: ServiceException.h:79
@ WMS_INVALID_DIMENSION_VALUE
Definition: ServiceException.h:129
static int getCodeAsStatusCode(ExceptionCode code)
Retourne le status code HTTP associe à l'exception.
Definition: ServiceException.cpp:103
@ ADMIN_CONFLICT
Definition: ServiceException.h:154
@ GFI_PYRAMID_VALUES
Definition: ServiceException.h:149
@ WMS_STYLE_NOT_DEFINED
Definition: ServiceException.h:104
static std::string getStatusCodeAsReasonPhrase(int statusCode)
Retourne la phrase explicative associée au status code http.
Definition: ServiceException.cpp:139
@ OWS_INVALID_PARAMETER_VALUE
Definition: ServiceException.h:69
@ WMS_INVALID_FORMAT
Definition: ServiceException.h:89
ServiceException(std::string locator, ExceptionCode code, std::string message, std::string service, std::string format="text/xml")
Definition: ServiceException.cpp:162