Microsoft SDK for Java

getError

This method of the Variant Class retrieves the value of a VT_ERROR Variant.

Syntax

public int getError();

Return Value

Returns the Variant object's value, which is converted to a Java integer.

Exceptions

ClassCastException if the variant type is not VT_ERROR.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.