Skip to content

Commit 09db3be

Browse files
committed
Correct the EXPath HTTP Client Error Codes
1 parent bbd9e98 commit 09db3be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

http-client-java/src/main/java/org/expath/httpclient/HttpClientError.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
* An error as defined by the EXPath HTTP Client specification.
1919
*/
2020
public enum HttpClientError implements ExpathError {
21-
HC001("HC01", "An HTTP error occurred"),
22-
HC002("HC02", "Error parsing the entity content as XML or HTML."),
23-
HC003("HC03", "With a multipart response, the override-media-type must be either a multipart media type or application/octet-stream."),
24-
HC004("HC04", "The src attribute on the body element is mutually exclusive with all other attribute (except the media-type)."),
25-
HC005("HC05", "The request element is not valid."),
26-
HC006("HC06", "A timeout occurred waiting for the response.");
21+
HC001("HC001", "An HTTP error occurred"),
22+
HC002("HC002", "Error parsing the entity content as XML or HTML."),
23+
HC003("HC003", "With a multipart response, the override-media-type must be either a multipart media type or application/octet-stream."),
24+
HC004("HC004", "The src attribute on the body element is mutually exclusive with all other attribute (except the media-type)."),
25+
HC005("HC005", "The request element is not valid."),
26+
HC006("HC006", "A timeout occurred waiting for the response.");
2727

2828
private final QName name;
2929
private final String description;

0 commit comments

Comments
 (0)