/*
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * 
 * $Id: ExceptionResource.java 75010 2017-05-30 19:45:08Z jsupol $ 
 */

package com.sun.ts.tests.jaxrs.jaxrs21.ee.priority;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("exception")
public class ExceptionResource {
	@GET
	@Produces(MediaType.TEXT_PLAIN)
	public String get() {
		throw new TckPriorityException();
	}
}
