Package org.fiware.mintaka.exception
package org.fiware.mintaka.exception
-
ClassDescriptionHandler to map errors on attribute extension to matching responsesHandler for mapping
CannotCreateTransactionException
.Should be thrown when a requested context could not have been retrieved.Handle allContextRetrievalException
.Error types as defined by the NGSI-LD spec.Handler to catch all not specifically(unexpected) handled exceptions and map them NGSI compliant.Handle allIllegalArgumentException
and map them to BadRequest's.Should be thrown if a request with an invalid time/timerelation configuration is received.Handle exceptions due to invalid timerelations.Should be thrown when theJacksonGeoJsonConverter
fails to convert the db objects.Handle all errors due to failing jackson conversions.Filter out all 405 responses an map them to 422 as defined by the NGSI-LD api.NGSICompliantExceptionHandler<T extends Throwable>Base exception handler to produce NGSI-LD compliant http responses.Should be thrown if something unexpected happens when retrieving data from the persistence layer.Handle allPersistenceRetrievalException
and map them to an internal error.Problem details as defined by RFC-7807" and mandated by the NGSI-LD Spec 5.5.2 and 5.5.3Should be thrown if the given attributes cannot be expanded.