Class BadGatewayExceptionMapper

java.lang.Object
com.atomgraph.server.mapper.ExceptionMapperBase
com.atomgraph.server.mapper.BadGatewayExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.atomgraph.core.exception.BadGatewayException>

public class BadGatewayExceptionMapper extends ExceptionMapperBase implements javax.ws.rs.ext.ExceptionMapper<com.atomgraph.core.exception.BadGatewayException>
Author:
Martynas Jusevičius <martynas@atomgraph.com>
  • Constructor Details

    • BadGatewayExceptionMapper

      @Inject public BadGatewayExceptionMapper(com.atomgraph.core.MediaTypes mediaTypes)
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(com.atomgraph.core.exception.BadGatewayException ex)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<com.atomgraph.core.exception.BadGatewayException>