5.1.2 Format of the messages (KDCCE05) output by the C4Exception class
The format of the messages output by the C4Exception class is as follows:
Message: Message text
The Message text includes a message ID, message type, and the message contents. The message format is as follows:
KDCCE05nn-Y Message text
The description of each item is as follows:
- KDCCE05nn
-
This indicates a message ID.
The elements configuring a message ID are as follows:
-
KDCCE
This indicates the prefix of the messages output by the C4Exception class.
-
05nn
This indicates the message number managed in the C4Exception class. A unique four-digit number with the first two digits as 05 is assigned to each message.
-
- Y
-
This indicates the message type. The message type of the C4Exception class is as follows:
E(ERROR): This message reports that a failure has occurred.
- Message text
-
This indicates the message contents.
You can use the getMessage method of the C4Exception class to acquire the value of the Message text.