com.thalesgroup.dtkit.ws.rs.providers
Class MappingExceptionMapper

java.lang.Object
  extended by com.thalesgroup.dtkit.ws.rs.providers.MappingExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.google.code.morphia.mapping.MappingException>

@Provider
public class MappingExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<com.google.code.morphia.mapping.MappingException>


Constructor Summary
MappingExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(com.google.code.morphia.mapping.MappingException me)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingExceptionMapper

public MappingExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(com.google.code.morphia.mapping.MappingException me)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<com.google.code.morphia.mapping.MappingException>


Copyright © 2004-2011. All Rights Reserved.