Implement ExceptionMapper (2.1.3.1)
This commit is contained in:
+2
-2
@@ -32,8 +32,8 @@ public interface ITripServiceResource {
|
||||
Response addStop(@PathParam("id") Long tripId, @FormParam("locationId") Long locationId) throws InvalidTripException, EntityNotFoundException;
|
||||
|
||||
@DELETE
|
||||
@Path("{id}/stops")
|
||||
Response removeStop(@PathParam("id") Long tripId, @FormParam("locationId") Long locationId) throws InvalidTripException, EntityNotFoundException;
|
||||
@Path("{id}/stops/{locationId}")
|
||||
Response removeStop(@PathParam("id") Long tripId, @PathParam("locationId") Long locationId) throws InvalidTripException, EntityNotFoundException;
|
||||
|
||||
@POST
|
||||
@Path("{id}/match")
|
||||
|
||||
Reference in New Issue
Block a user