From Xojo Documentation
Class (inherits from RuntimeException)
| This class is only available on the Windows platform.
For cross-platform development, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this class on an incompatible platform.
An OLE-related exception occurred. This class handles Microsoft Office Automation exceptions.