package nl.tudelft.ewi.dea.jaxrs.api;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

import com.google.inject.servlet.RequestScoped;

@RequestScoped
@Path("api/exception")
public class ExceptionAASResource {

	@GET
	public void throwException() {
		throw new RuntimeException("Your Exception-As-A-Service is served!");
	}

}

@@ -80,16 +80,50 @@
 rs.Path;
+%0Aimport javax.ws.rs.core.Response;
 %0A%0Aimport
@@ -258,12 +258,16 @@
 lic 
-void
+Response
  thr

Return Response instead of void as per the spec.