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.