This method of the Variant Class retrieves the value of a VT_ERROR Variant.
public int getError();
Returns the Variant object's value, which is converted to a Java integer.
ClassCastException if the variant type is not VT_ERROR.