Class WebApplicationExceptionMapper

java.lang.Object
io.stargate.sgv2.api.common.exception.WebApplicationExceptionMapper

public class WebApplicationExceptionMapper extends Object
Simple exception mapper for the WebApplicationException. Needed due to the existence of the RuntimeExceptionMapper that must not be used for these exceptions.
  • Constructor Details

    • WebApplicationExceptionMapper

      public WebApplicationExceptionMapper()
  • Method Details

    • webApplicationException

      public javax.ws.rs.core.Response webApplicationException(javax.ws.rs.WebApplicationException exception)