All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ENOVaultClientCPP Class ENOVIVaultError

ENOVIVaultError
 

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


public class ENOVIVaultError

This class supplies methods enabling to manage errors.
role: This class defines the Vault error codes and provides methods enabling to get detailed informations about the error.

HRESULT Values are 32 bit values layed out as follows:
3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+---+-+-+-----------------------+-------------------------------+
|Sev|C|R| Facility | Code |
+---+-+-+-----------------------+-------------------------------+
where
Sev - is the severity code
00 - Success
01 - Informational
10 - Warning
11 - Error
C - is the Customer code flag
R - is a reserved bit
Facility - is the facility code
Code - is the facility's status code


Constructor and Destructor Index


o ENOVIVaultError()
Constructs an empty error handler
o ~ENOVIVaultError()

Method Index


o getCode(HRESULT&)
Gets the error code.
o getMessage(CATUnicodeString&)
Gets a printable message describing the error.

Constructor and Destructor


o ENOVIVaultError
public ENOVIVaultError()
Constructs an empty error handler
o ~ENOVIVaultError
public ~ENOVIVaultError()

Methods


o getCode
public void getCode(HRESULT& code)
Gets the error code.
Parameters:
oCode
[out] - Error code
o getMessage
public void getMessage(CATUnicodeString& oMess)
Gets a printable message describing the error.
Parameters:
oMess
[out] - Printable error message

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

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