/*
 * 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.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;

@Provider
public class FilterChainTestExceptionMapper implements
		ExceptionMapper<FilterChainTestException> {

	@Override
	public Response toResponse(FilterChainTestException exception) {
		return Response.ok(getClass().getName()).build();
	}

}
