Package fr.gouv.vitam.common.server.application

# Class GenericExceptionMapper

java.lang.Object
fr.gouv.vitam.common.server.application.GenericExceptionMapper

All Implemented Interfaces:
  `jakarta.ws.rs.ext.ExceptionMapper<Throwable>`

public class GenericExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<Throwable>
Generic Exception Mapper for Jetty Server

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GenericExceptionMapper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  `toResponse(Throwable exception)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GenericExceptionMapper

    public GenericExceptionMapper()

- ## Method Details

  - ### toResponse

    public jakarta.ws.rs.core.Response toResponse(Throwable exception)
    Specified by:
      `toResponse` in interface `jakarta.ws.rs.ext.ExceptionMapper<Throwable>`