From df6b5a06aa45a483611939bcb5a23f1c56f40821 Mon Sep 17 00:00:00 2001 From: Tony Fitzgerald Date: Wed, 25 Jan 2023 17:27:11 +0000 Subject: [PATCH] add LengErr comment --- .../src/com/ibm/cicsdev/jmx/HttpEndpointController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/com.ibm.cicsdev.jmx.httpendpoint.controller/src/com/ibm/cicsdev/jmx/HttpEndpointController.java b/projects/com.ibm.cicsdev.jmx.httpendpoint.controller/src/com/ibm/cicsdev/jmx/HttpEndpointController.java index ad79216..4e35240 100644 --- a/projects/com.ibm.cicsdev.jmx.httpendpoint.controller/src/com/ibm/cicsdev/jmx/HttpEndpointController.java +++ b/projects/com.ibm.cicsdev.jmx.httpendpoint.controller/src/com/ibm/cicsdev/jmx/HttpEndpointController.java @@ -83,6 +83,8 @@ public static void controlLiberty() { } catch (MalformedObjectNameException | InstanceNotFoundException | ReflectionException | MBeanException e) { msg = "Error invoking ServerEndpointControl MBean"; e.printStackTrace(); + // if compiled with CICS V5.6 or higher change the following catch to add LengthErrorException + // i.e. --> } catch (ContainerErrorException | LengthErrorException e) { } catch (ContainerErrorException e) { msg = "Error getting WLPDATA container from channel"; e.printStackTrace();