@@ -0,0 +1,1785 @@
+package innovimax.mixthem.rest;%0A%0Aimport innovimax.mixthem.rest.request.AlternateMode;%0Aimport innovimax.mixthem.rest.request.ZipMode;%0A%0Aimport javax.xml.bind.annotation.XmlRootElement;%0Aimport javax.ws.rs.core.Response.Status;%0A%0A@XmlRootElement%0Apublic class ErrorResponse %7B%0A%0A    private int code;%0A    private String label;%0A    private String message;%0A%0A    public int getCode() %7B%0A        return this.code;%0A    %7D%0A%0A    public void setCode(int code) %7B%0A        this.code = code;%0A    %7D%0A%0A    public String getLabel() %7B%0A        return this.label;%0A    %7D%0A%0A    public void setLabel(String label) %7B%0A        this.label = label;%0A    %7D%0A%0A    public String getMessage() %7B%0A        return this.message;%0A    %7D%0A%0A    public void setMessage(String message) %7B%0A        this.message = message;%0A    %7D%0A%0A    public static ErrorResponse createMissingParamTextError() %7B        %0A        return createError(Status.BAD_REQUEST, %22Text must no be empty!%22);        %0A    %7D%0A%0A    public static ErrorResponse createMissingParamFileError() %7B        %0A        return createError(Status.BAD_REQUEST, %22File must no be empty!%22);        %0A    %7D%0A%0A    public static ErrorResponse createWrongParamAltModeError() %7B        %0A        return createError(Status.BAD_REQUEST, %22Alternation mode is not valid. Choose a value in %22 + AlternateMode.printList());%0A    %7D%0A%0A    public static ErrorResponse createWrongParamZipModeError() %7B%0A        return createError(Status.BAD_REQUEST, %22Zipping mode not is valid. Choose a value in %22 + ZipMode.printList());%0A    %7D%0A%0A    private static ErrorResponse createError(Status status, String message) %7B%0A        ErrorResponse error = new ErrorResponse();%0A        error.setCode(status.getStatusCode());%0A        error.setLabel(status.getReasonPhrase());%0A        error.setMessage(message);%0A        return error;%0A    %7D%0A%0A%7D%0A

Create ErrorResponse.java