Microsoft SDK for Java

Win32Exception Class Constructors

The Win32Exception contains the following constructors:

Win32Exception(int errorcode)
Win32Exception(int errorcode, String message)

Win32Exception(int errorcode)

Creates a Win32Exception object initialized with an error code.

Syntax

public Win32Exception(int errorcode);

Parameters

errorcode The error code.

Win32Exception(int errorcode, String message)

Creates a Win32Exception object initialized with an error code and an error description.

Syntax

public Win32Exception(int errorcode, String message);

Parameters

errorcode The error code.
message The error description.

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