Error handling in XMS .NET

XMS .NET exceptions are all derived from System.Exception.

XMS .NET exceptions

XMS method calls can throw specific XMS exceptions such as MessageFormatException, general XMSExceptions, or system exceptions such as NullReferenceException.

Write applications to catch any of these errors, either in specific catch blocks or in general System.Exception catch blocks, as appropriate to the your application's requirements.

XMS error and exception codes

XMS uses a range of error codes to indicate failures. These error codes are not explicitly listed in this documentation because they may vary from release to release. Only XMS exception codes (in the format XMS_X_...) are documented because they remain the same across releases of XMS.