From 414d1e6266be38b1080f911ea80153bfd9b10b1c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 13 Nov 2011 17:37:40 +0000 Subject: [PATCH] default http error code for an exception should be 500 not 0 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201465 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/rest/api/services/ArchivaRestServiceException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ArchivaRestServiceException.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ArchivaRestServiceException.java index a472773a6..3d0de5cb1 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ArchivaRestServiceException.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ArchivaRestServiceException.java @@ -28,7 +28,7 @@ public class ArchivaRestServiceException extends Exception { - private int httpErrorCode; + private int httpErrorCode = 500; private String errorKey; -- 2.39.5