Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Designing: Error Messages
 

Classic Java CAPS

Developing Java CAPS Projects

Using SOAP Message Handlers

Creating a Runtime Environment

Designing Business Processes in the Sun Business Process Manager

Working with TCP/IP HL7 Collaborations

Developing Sun Master Indexes (Repository)

Developing Sun Master Patient Indexes

Developing OTDs for Application Adapters

Developing OTDs for Communication Adapters

Developing OTDs for Database Adapters

Developing OTDs for Web Server Adapters

Designing with Application Adapters

Designing with Communication Adapters

Designing with Web Server Adapters

SWIFT Integration Projects

Overview of SWIFT Message Libraries

2008 Library Features

Library Versions and Access

What's New in Java CAPS 6 Update 1

Installing the SWIFT Message Library

SWIFT OTD Library System Requirements

Installing the SWIFT OTD Libraries

Installing the eWay on a Java CAPS Supported System

Increasing the Heap Size

Increasing the heap size from the Enterprise Designer

Using the SWIFT OTD Library

SWIFT Message Type OTDs

SWIFT Message Structure

OTD and Collaboration Locations in Enterprise Designer

SWIFT Message Type Reference

Category 1 Messages

Category 2 Messages

Category 3 Messages

Category 4 Messages

Category 5 Messages

Category 6 Messages

Category 7 Messages

Category 8 Messages

Category 9 Messages

Validation Collaborations

SWIFT Generic Library

SWIFT Message Library JAR Files

Using Message Validation Features

Basic Validation Features

Library Methods

Message Validation Rules

Message Format Validation Rules (MFVR)

MFVR Validation Methods

MFVR Errors

In Collaboration Validation Methods

validate()

SWIFT Projects

Importing a Sample Project

SWIFT Projects and the Enterprise Designer

SWIFT Sample prjSwift_JCD_MFVROnly Project

SWIFT Sample prjSwift_JCD_MFVRAndBICPlusIBAN Project

SWIFT Sample prjSwift_JCD_BICPlusIBANOnly Project

SWIFT MX Validation Sample

SWIFT Correlation Repository Sample

SWIFT Sample eInsight™ Project

Using eGate With eInsight

Using a Business Process

Configuring the Modeling Elements

Creating a Connectivity Map

Binding the eWay Components

Creating an Environment

Configuring the eWays

Configuring the Integration Server

Creating the Deployment Profile

Creating and Starting the Domain

Building and Deploying the Project

Running the Sample

Updating BICDirService

Source of Information

BICDirService Method Operation

Updating BICPlusIBAN

BICPlusIBAN Validation Method Definitions

Error Message Information

Error Messages

Message Examples

Using SWIFT FIN-Based Funds OTDs

SWIFT OTD Library Funds Features

Using SWIFT OTD Library Java Classes

Relation to OTD Message Types

SWIFT OTD Library Javadoc

OTD Library Java Classes

Java EE Based Components

Designing with Sun JCA Adapters

About the TCP/IP JCA Adapter

Defining Constants and Variables

Using Database Operations

Developing Sun Master Indexes

Using the JMS JCA Wizard

Using the JAXB Wizard and Code-Seeder Pallete

Error Messages

There are separate error messages and reporting mechanisms for each type of validation performed by a Service. You can control the amount of debugging information in the error messages you receive by using the debug flags as parameters when you call the command() method. The library’s error parser provides the following debug levels:

Error message file output appears at the end of any message that generates an error.

Setting the Debug Level

The available debug level flags are:

Using the Debug Level flags, you can configure the debugging information you receive by setting the appropriate debug parameter in the OTD’s command() method. For example, to set the error message level to the Regular Information level (I flag), with abbreviations turned on (A flag), you would set command() with the parameters A and I. You can do this from the Collaboration Editor’s Business Rules Designer as displayed below.

Figure 7 Setting the debug level using the Business Rules Designer
Setting the Debug Level

This produces the following Java code (this example uses the mt_202 Validation Collaboration:

     mt_202_1.command( "AI" );

Calling command() enables any of the debug functions presented as a parameter. For more information, see the SWIFT OTD Library Javadoc.