All Frameworks  Class Hierarchy  This Framework  Next  Indexes

System Exception CATCOMErrors

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATError
        |
        +---CATCOMErrors
 

Usage: you must use this class as is. You should never derive it.


public class CATCOMErrors

Class for COM errors.
Role: CATCOMErrors is dedicated to any COM/DCOM error. You cannot instantiate it. You can just retrieve a pointer to such an error using the error manager static CATError.CATGetLastError method.


Constructor and Destructor Index


o ~CATCOMErrors()

Method Index


o GetNLSMessage()
Returns the error message.
o GetNLSSource()
Returns the error source.

Constructor and Destructor


o ~CATCOMErrors
public virtual ~CATCOMErrors()

Methods


o GetNLSMessage
public CATUnicodeString GetNLSMessage()
Returns the error message.
o GetNLSSource
public CATUnicodeString GetNLSSource()
Returns the error source.
Role: The error source is made of the concatenation of: They are separated with the "-" (dash) character.
Example: CATIA - SystemError - KeyRangeERR_3000

This object is included in the file: CATCOMErrors.h
If needed, your Imakefile.mk should include the module: JS0GROUP

Copyright © 2003, Dassault Systèmes. All rights reserved.