Class ConfigurationExceptionMapper

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

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

    • ConfigurationExceptionMapper

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

    • toResponse

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