Package io.goobi.viewer.api.rest.exceptions
package io.goobi.viewer.api.rest.exceptions
JAX-RS exception mappers that translate application and web exceptions into
structured HTTP error responses for the REST API.
-
ClassesClassDescriptionJAX-RS exception mapper that converts
ContentLibExceptioninstances to HTTP error responses with appropriate status codes.MapsNotAllowedException(HTTP 405) to a JSON response that includes the requiredAllowheader listing supported HTTP methods for the requested path, as mandated by RFC 9110 ยง15.5.6.JAX-RS exception mapper that convertsRestApiExceptioninstances to JSON error responses with appropriate HTTP status codes.JAX-RS exception mapper that catches general exceptions encountered during REST API calls and creates a JSON-formatted error response.