Creating an error message ID

To create an error message ID, take the following steps:

Procedure

  1. Select Code Tables > Error Message IDs > .

    The Error Message IDs page opens.

  2. Select the application component that you want to create the error message ID for from the Component Type list and click Go.

    The Error Message ID Details page opens.

  3. Click Add.

    The Add Error Message ID page opens.

  4. Specify a unique error reason ID that you want to associate with this error message ID in the Error Reason Number field.

    The error reason ID defines why an error has occurred. It is used in the assembly of the error message but does not appear in the message text. For more information on error reason codes, see the developer topics for information on Error Handling and Logging.

  5. Select the error type code that you want to associate with this error message ID from the Error Type list.

    Error type codes help users and developers identify the general nature of the error, for example: FVRR = Field Validation Error, READERR = Read Failure, or SQLERR = SQL Exception. You can add or edit error types codes by modifying the CDERRTYPETP code table. For information on adding new values to code tables, see Adding a code value.

  6. Select the message type of the error message text that you want to associate with this error message ID from the Error Message list.

    You can view and create message type and text pairs from the Message Management page. For more information, see Creating an error message.

  7. Select the error severity code that you want to associate with this error message ID from the Error Severity list.

    Error severity codes are arbitrary alphanumeric values that indicate how serious the error is. For more information on error severity codes, see the developer topics for information on Error Handling and Logging.

  8. Click Submit.

    A confirmation message asks you to confirm your action.

  9. Click OK.