summaryrefslogtreecommitdiffstats
path: root/rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java
diff options
context:
space:
mode:
authortian.ming@huawei.com <tian.ming@huawei.com>2016-09-10 12:41:16 +0800
committertian.ming@huawei.com <tian.ming@huawei.com>2016-09-10 15:46:25 +0800
commit7476493080d6c7dc895f1eeda7d4781c8295b03f (patch)
treedcbbaa7f416fa7e2da285f60085bbb8dcbb331d2 /rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java
parentfd23b5c6940b86e1f98742ea0537917d4266f0c9 (diff)
Modify license information.
JIRA:https://jira.open-o.org/browse/OCS-46 Change-Id: Iff62c4f5a9f29e20ab6f54772f60b1ab7ea65b1a Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com> fix the build error. Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com> fix the build error. Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
Diffstat (limited to 'rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java')
-rw-r--r--rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java b/rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java
index e64d914..91f6acf 100644
--- a/rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java
+++ b/rest-client/src/main/java/org/openo/baseservice/remoteservice/exception/ServiceException.java
@@ -1,11 +1,11 @@
/*
- * Copyright (c) 2016, Huawei Technologies Co., Ltd.
+ * Copyright 2016 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -23,7 +23,7 @@ import java.text.MessageFormat;
* </p>
*
* @author
- * @version SDNO 0.5 28-May-2016
+ * @version 28-May-2016
*/
public class ServiceException extends Exception {
@@ -54,7 +54,7 @@ public class ServiceException extends Exception {
* This method is only used as deserialized, in other cases, use parameterized constructor.
* </p>
*
- * @since SDNO 0.5
+ * @since
*/
public ServiceException() {
super("");
@@ -65,7 +65,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: details.
* @param cause: reason.
*/
@@ -79,7 +79,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param message: details.
*/
public ServiceException(final String message) {
@@ -91,7 +91,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: exception id.
* @param message: details.
*/
@@ -105,7 +105,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: exception id.
* @param httpCode: http status code.
*/
@@ -120,7 +120,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: exception id.
* @param httpCode: http code.
* @param exceptionArgs: Exception handling frame parameters.
@@ -138,7 +138,7 @@ public class ServiceException extends Exception {
* Have a placeholder exception, use args formatted message.
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: exception id.
* @param message: details.
* @param args: Placeholders for parameters
@@ -155,7 +155,7 @@ public class ServiceException extends Exception {
* Have a placeholder exception, use args formatted message
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: exception id.
* @param message: details.
* @param cause: reason.
@@ -172,7 +172,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param id: exception id.
* @param message: details.
* @param cause: reason.
@@ -187,7 +187,7 @@ public class ServiceException extends Exception {
* <p>
* </p>
*
- * @since SDNO 0.5
+ * @since
* @param cause: reason.
*/
public ServiceException(final Throwable cause) {
@@ -198,7 +198,7 @@ public class ServiceException extends Exception {
* Get exceptoin id.<br/>
*
* @return
- * @since SDNO 0.5
+ * @since
*/
public String getId() {
if(id == null || id.isEmpty()) {
@@ -223,7 +223,7 @@ public class ServiceException extends Exception {
* Obtain the ROA exception handling framework parameters<br/>
*
* @return exception args.
- * @since SDNO 0.5
+ * @since
*/
public ExceptionArgs getExceptionArgs() {
return exceptionArgs;
@@ -237,7 +237,7 @@ public class ServiceException extends Exception {
* Gets the parameter information<br/>
*
* @return parameter list.
- * @since SDNO 0.5
+ * @since
*/
protected Object[] getArgs() {
if(args == null || args.length == 0 || DEFAULT_ID.equals(getId())) {