WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

Handling errors in .NET

XMS .NET exceptions are all derived from System.Exception. XMS method calls can throw specific XMS exceptions such as MessageFormatException, general XMSExceptions, or system exceptions such as NullReferenceException.

Applications should ideally be written to catch any of these, either in specific catch blocks or in general System.Exception catch blocks, as appropriate to the application's requirements.

Related concepts
Destinations in .NET
Getting and setting properties in .NET
Handling of non-existent properties in .NET
Using message and exception listeners in .NET

Concept topic

Terms of Use | Rate this page

Last updated: 24 Mar 2006

© Copyright IBM Corporation 2005, 2006. All Rights Reserved.