@@ -0,0 +1,1003 @@
+package de.jeha.s3srv.api;%0A%0Aimport javax.xml.bind.annotation.XmlElement;%0Aimport javax.xml.bind.annotation.XmlRootElement;%0A%0A/**%0A * @author jenshadlich@googlemail.com%0A */%0A@XmlRootElement(name = %22Error%22)%0Apublic class ErrorResponse %7B%0A%0A    @XmlElement(name = %22Code%22)%0A    private String code;%0A%0A    @XmlElement(name = %22Message%22)%0A    private String message;%0A%0A    @XmlElement(name = %22Resource%22)%0A    private String resource;%0A%0A    @XmlElement(name = %22RequestId%22)%0A    private String requestId;%0A%0A    public ErrorResponse() %7B%0A    %7D%0A%0A    public ErrorResponse(String code, String message, String resource, String requestId) %7B%0A        this.code = code;%0A        this.message = message;%0A        this.resource = resource;%0A        this.requestId = requestId;%0A    %7D%0A%0A    public String getCode() %7B%0A        return code;%0A    %7D%0A%0A    public String getMessage() %7B%0A        return message;%0A    %7D%0A%0A    public String getResource() %7B%0A        return resource;%0A    %7D%0A%0A    public String getRequestId() %7B%0A        return requestId;%0A    %7D%0A%0A%7D%0A

add error response