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 Details

    • SchemaExceptionMapper

      public SchemaExceptionMapper()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(pl.allegro.tech.hermes.schema.SchemaException exception)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<pl.allegro.tech.hermes.schema.SchemaException>