From 2d41766e54fc4ea14a98b4a7b9a6d81a484ea51d Mon Sep 17 00:00:00 2001 From: jegadeeshbabu1 Date: Tue, 9 Jul 2019 11:38:14 +0530 Subject: Marked field transient Handled non-serializable fields Issue-ID: APPC-1637 Change-Id: I3398620e396c3f8bc1504eca8d312bc35d3bbbfd Signed-off-by: jegadeeshbabu1 --- .../java/org/onap/appc/adapter/rest/impl/RequestFailedException.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'appc-adapters') diff --git a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/impl/RequestFailedException.java b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/impl/RequestFailedException.java index 587fbf2c7..0bc47b28e 100644 --- a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/impl/RequestFailedException.java +++ b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/impl/RequestFailedException.java @@ -6,6 +6,8 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ============================================================================= + * Modification Copyright (C) 2019 IBM + * ============================================================================= * 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 @@ -63,7 +65,7 @@ public class RequestFailedException extends Exception { /** * The most appropriate Http Status code that reflects the error */ - private HttpStatus status; + private transient HttpStatus status; /** * -- cgit 1.2.3-korg