Salesforce

Error Handling (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Error Handling (Magic xpa 3.x)

Some error handling is performed by the component. Each error is written to an error log called messaging_error.log, found in the Magic xpa root directory.

Error Event

An event called Error is exposed by the component and raised as a synchronous event so that you can perform your own error handling. The parameters of the event are:

Parameter

Description

Messaging System

Alpha (1). The valid values are:

  • M – MSMQ

  • J – JMS

  • W – WebSphere MQ

Error Code

Numeric (15)

Error codes can have negative values.

There can also be other unlisted error codes from Microsoft, JMS, and WebSphere.

For a description of the Messaging Component Error Codes, see the Error Code Messages.

Validation Error

Logical value.

TRUE indicates that the error is a result of an internal validation check.

FALSE indicates that the error is a result of the internal messaging queue error handling.

Error

Alpha (100). The message text.

Java Error Event

Parameter

Description

JException Error

BLOB. This BLOB has the value returned by the JException function. When a JMS error occurs, the error string (passed by the ErrorException event) is appended with the Java Class that relates to the encountered error, which is surrounded by brackets [ ].

Reference
Attachment 
Attachment