Hitachi

uCosminexus Application Server Messages


5.1.1 Format of the messages (KDCCP) output by the C4Fault class

This subsection describes the format of the messages output by the C4Fault class. Of the messages beginning with KDCCP, the messages that begin with KDCCP30 are output when you use DII. For details about the formatting the messages that are output when you use DII, see 5.1.10 Format of the messages (KDCCP30) output when using DII.

FaultCode: Fault code

FaultString: Message text

FaultActor: Fault creator

FaultDetail: Fault details

The description of each item is as follows:

FaultCode: Fault code

The Fault code consists of a prefix and a local part. The Fault code format is as follows:

{Prefix}Local part

  • Prefix

    {http://c4web.cosminexus.com} will be output.

  • Local part

    A string beginning with Server. or Client. will be output.

You can use the getFaultCode method of the C4Fault class to acquire the value of the Fault code.

FaultString: Message text

This indicates the message text. The Message text consists of a message ID, message type, and the message contents.

The message format is as follows:

KDCCPnnnn-Y Message text

The description of each item is as follows:

KDCCPnnnn

This indicates a message ID.

The elements configuring a message ID are as follows:

  • KDCCP

    This indicates the prefix of the messages output by the C4Fault class.

  • nnnn

    This indicates the message number managed in the C4Fault class. A unique four-digit number is assigned to each message.

Y

This indicates the message type. The message type of the C4Fault class is as follows:

E(ERROR): This message reports that a failure has occurred.

Message text

This indicates the message contents.

The value of the Message text can be acquired with the getFaultString method of the C4Fault class.

FaultActor: Fault creator

The Fault creator can be acquired with the getFaultActor method of the C4Fault class.

FaultDetail: Fault details

You can use the getFaultDetails method to acquire the C4Fault class.