Table of Contents

Search

  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: MySQL
  11. Adapter Example: YouTube
  12. Metadata Models
  13. ASO Model
  14. Adapter Project Migration

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 January 22, 2019