EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.exceptions
Class UnsupportedMediaTypeExceptionMapper

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.exceptions.UnsupportedMediaTypeExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<UnsupportedMediaTypeException>

@Provider
public class UnsupportedMediaTypeExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<UnsupportedMediaTypeException>


Constructor Summary
UnsupportedMediaTypeExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(UnsupportedMediaTypeException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsupportedMediaTypeExceptionMapper

public UnsupportedMediaTypeExceptionMapper()
Method Detail

toResponse

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference