Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Connector Toolkit
  3. Before you begin
  4. Develop a connector for Cloud Data Integration
  5. Develop a connector for Data Loader
  6. Import a connector
  7. Connection attributes
  8. Type system
  9. Connector metadata
  10. Partitioning capability
  11. Pushdown capability
  12. Mappings in advanced mode
  13. Manual changes to Informatica Connector Toolkit source code
  14. Runtime behavior
  15. Connector example: MySQL_Cloud
  16. Version control integration
  17. Appendix A: Metadata models
  18. Appendix B: ASO model
  19. Appendix C: Connector project migration
  20. Appendix D: Frequently used generic APIs in Informatica Connector Toolkit
  21. Appendix E: Frequently asked questions

Cloud Data Integration Connector Toolkit Developer Guide

Cloud Data Integration Connector Toolkit Developer Guide

Create messages

Create messages

Create, edit, or delete messages and handle exceptions that occur during the design time or run time of the connector.
When you create messages, you specify the message text and message code, and you can include information on the message severity, cause, and user action. After you create messages, you can implement the code to handle exceptions. When you implement the code to handle the exception, you pass the message as an argument to the exception handing method.
Create design-time messages to handle design-time exceptions, such as service exceptions. Create run-time messages to handle run-time exceptions.
To create messages, perform the following steps:
  1. In the
    Connector Navigator
    view, right-click the project and select
    View and Create Messages
    . The
    Messages
    dialog box appears.
  2. Click
    Add
    .
    The
    Add New Message
    dialog box appears.
  3. Enter an ID for the message.
  4. Enter a code for the message. At run time, the message code and the message text appears in the session log.
  5. Specify the severity of the message.
  6. Enter the message text.
    You can include parameters in the message text and specify the parameters in Java message format.
    The following example shows parameters used in Java message format:
    Connection User [{0}], Port [{1,number,integer}], Connection time [{1,number}] milliseconds
  7. Enter a description for the message.
  8. Enter the cause of the error message.
  9. Enter the suggested user action when the user encounters the error.
  10. Specify whether the message is a design-time message or a run-time message.
  11. Click
    OK
    .
    The
    Messages
    dialog box appears.
  12. Click
    Finish
    .
    The message XML files appear under the
    Message
    folder in the
    Connector Navigator
    view.

0 COMMENTS

We’d like to hear from you!