Table of Contents

  1. Preface
  2. Introduction to the Informatica Connector Toolkit
  3. Installing and Upgrading the Informatica Connector Toolkit
  4. Building an Adapter
  5. Connection Attributes
  6. Type System
  7. Metadata Objects
  8. Partitioning Capability
  9. Run-time Behavior
  10. Adapter Example: Instagram
  11. Adapter Example: MySQL
  12. Adapter Example: YouTube
  13. Metadata Models
  14. ASO Model
  15. Adapter Project Migration
  16. Frequently Asked Questions

Informatica Connector Toolkit Developer Guide

Informatica 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());

Updated May 15, 2019


Explore Informatica Network