/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * 
 * $Id$  
 */

package com.sun.ts.tests.jaxrs.spec.provider.exceptionmapper;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import javax.ws.rs.ext.ExceptionMapper;

public class ExceptionFromMappedExceptionMapper implements
		ExceptionMapper<ExceptionFromMappedException> {

	@Override
	public Response toResponse(ExceptionFromMappedException exception) {
		//This exception is said not to be handled
		throw new WebApplicationException(Status.ACCEPTED);
	}

}
