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

Implement design time messages

Implement design time messages

You can use the methods in the com.informatica.sdk.exceptions.ExceptionManager class to implement design-time messages.
To enable localization of messages, implement the createNlsAdapterSDKException() method in the ExceptionManager class.
The following sample code shows the message parameters passed to the createNlsAdapterSDKException() method:
ExceptionManager.createNlsAdapterSDKException(ExceptionManager.createNlsAdapterSDKException(MessageBundle.getInstance(), Messages.Test_CONN_SUCC_200, "admin", 5040, 138.76);
To implement design-time messages that do not require localization, implement the createNonNlsAdapterSDKException() method in the ExceptionManager class.
The following sample code shows the message string passed to the createNonNlsAdapterSDKException() method:
ExceptionManager.createNonNlsAdapterSDKException("Unknown error:" + e.getMessage());

0 COMMENTS

We’d like to hear from you!