The information in this article applies to:
SYMPTOMSWhen you call setBorderWidth() with DhUnits.PERCENT, the following exception occurs:
CAUSEDhUnits.PERCENT is not a valid unit in border-width specifications. The setBorderWidth() method should not accept a value of DhUnits.PERCENT. RESOLUTIONDo not call setBorderWidth() by passing DhUnits.PERCENT because DhUnits.PERCENT is not a valid parameter. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION
setBorderWidth passes the DhUnits parameter to the peer class without first
verifying whether it is valid. This causes the peer to generate a
ComFailException. A better implementation of setBorderWidth() is to ignore
invalid parameters or throw a setBorderWidth() exception.
Steps to Reproduce Behavior
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java,
please see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ © Microsoft Corporation 1998, All Rights Reserved. Additional query words:
Keywords : kbVJ600bug kbInetDev kbwfchtml |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |