Class SchemaExceptionMapper
java.lang.Object
pl.allegro.tech.hermes.management.api.mappers.SchemaExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<pl.allegro.tech.hermes.schema.SchemaException>
@Provider
public class SchemaExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<pl.allegro.tech.hermes.schema.SchemaException>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsetoResponse(pl.allegro.tech.hermes.schema.SchemaException exception)
-
Constructor Details
-
SchemaExceptionMapper
public SchemaExceptionMapper()
-
-
Method Details
-
toResponse
public jakarta.ws.rs.core.Response toResponse(pl.allegro.tech.hermes.schema.SchemaException exception) - Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<pl.allegro.tech.hermes.schema.SchemaException>
-