From 96f81115585f8057714e548797b906fa118b75e5 Mon Sep 17 00:00:00 2001 From: Vijayendra Bhamidipati Date: Thu, 8 Mar 2012 11:19:13 -0800 Subject: [PATCH] Bug 14060: Include a CloudStack error code in an Exception Response Description: Missed fully qualifying ServerApiException in hashmap. Fixing it with this commit. --- utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java b/utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java index 81b5ce4eb98..1e9939c2131 100755 --- a/utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java +++ b/utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java @@ -99,7 +99,7 @@ public class CSExceptionErrorCode { // Have a special error code for ServerApiException when it is // thrown in a standalone manner when failing to detect any of the above // standard exceptions. - ExceptionErrorCodeMap.put("ServerApiException", 9999); + ExceptionErrorCodeMap.put("com.cloud.api.ServerApiException", 9999); } catch (Exception e) { throw new ExceptionInInitializerError(e); }