diff options
author | 2016-10-31 07:18:08 +0000 | |
---|---|---|
committer | 2016-10-31 07:18:08 +0000 | |
commit | a345dc5c3d96da328d0ea3ece5e53d4db59cfcc4 (patch) | |
tree | 084073857139ffb3c85bddc2234ee0c9ef372ea5 | |
parent | e7a6d382c1abe682a3cb5ac3ee7ce1ee074c64c6 (diff) | |
parent | 06d9f5cb26d3480c10c40e04b44acdbdcdc59d33 (diff) |
Merge "Issue ID:GSO-83" into sun
-rw-r--r-- | servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/util/http/ResponseUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/util/http/ResponseUtils.java b/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/util/http/ResponseUtils.java index 05d4f0f9..eb753aa8 100644 --- a/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/util/http/ResponseUtils.java +++ b/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/util/http/ResponseUtils.java @@ -16,6 +16,7 @@ package org.openo.gso.gui.servicegateway.util.http; +import java.util.Arrays; import java.util.HashMap; import java.util.LinkedList; import java.util.List; @@ -148,11 +149,10 @@ public class ResponseUtils { result.put(Constant.RESPONSE_STATUS_DESCRIPTION, status); } else { if((null != exception.getExceptionArgs()) && (null != exception.getExceptionArgs().getDescArgs())) { - result.put(Constant.RESPONSE_STATUS_DESCRIPTION, exception.getExceptionArgs().getDescArgs().toString()); + result.put(Constant.RESPONSE_STATUS_DESCRIPTION, Arrays.asList(exception.getExceptionArgs().getDescArgs()).toString()); } } result.put(Constant.RESPONSE_ERRORCODE, errorCode); - return result; } |