@@ -0,0 +1,375 @@
+package fi.csc.chipster.rest.exception;%0A%0Aimport javax.ws.rs.core.MediaType;%0Aimport javax.ws.rs.core.Response;%0Aimport javax.ws.rs.core.Response.Status;%0A%0Apublic class ConflictException extends javax.ws.rs.WebApplicationException %7B%0A%0A%09public ConflictException(String message) %7B%0A%09%09super(Response.status(Status.CONFLICT).entity(message).type(MediaType.TEXT_PLAIN).build());%0A%09%7D%09%0A%7D%0A%0A

Add ConflictException