Skip to content

Commit

Permalink
Merge pull request #2 from cicsdev/LengthErrorExceptionFix
Browse files Browse the repository at this point in the history
add LengErr comment
  • Loading branch information
Tony Fitzgerald authored Jan 25, 2023
2 parents c4845e2 + df6b5a0 commit 26885ea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 26885ea

Please sign in to comment.