Package com.atomgraph.server.mapper
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(com.atomgraph.core.exception.ConfigurationException ex) Methods inherited from class com.atomgraph.server.mapper.ExceptionMapperBase
getEncodings, getLanguages, getMediaTypes, getRequest, getResponseBuilder, getUriInfo, getVariants, getVariants, getWritableMediaTypes, toResource
-
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:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<com.atomgraph.core.exception.ConfigurationException>
-