Skip to content

Commit 0a86095

Browse files
author
Tony Fitzgerald
authored
Update HelloLiberty.java
1 parent 718a5e1 commit 0a86095

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

projects/com.ibm.cics.server.examples.wlp.link/src/com/ibm/cics/server/examples/wlp/link/HelloLiberty.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ public void printMessage() {
4242
sb.append(Task.getTask().getUSERID());
4343
}
4444
} catch (InvalidRequestException | ContainerErrorException | ChannelErrorException | CCSIDErrorException
45-
| CodePageErrorException | LengthErrorException e) {
45+
| CodePageErrorException e) {
46+
// If compiling against CICS 5.6 or higher: add "LengthErrorException" as shown in the following commented out lines
47+
// } catch (InvalidRequestException | ContainerErrorException | ChannelErrorException | CCSIDErrorException
48+
// | CodePageErrorException | LengthErrorException e) {
4649
e.printStackTrace();
4750
Task.getTask().abend("OHNO");
4851
}

0 commit comments

Comments
 (0)