DXMException Class

DXMException objects are thrown when any detected error occurs in the Microsoft® DirectAnimation® system. They contain a string that should describe the source or the cause of the exception.

DXMException Methods

DXMException Constructs a DXMException object.
getErrorCode Extracts the Win32 error code.
getErrorString Extracts the error string from the exception.

DXMException

DXMException Class

Constructs a DXMException object.

Syntax

public DXMException( int error, String string );

Parameters

error
Win32 error code. Consult a Win32 reference for more information.
string
Describes the cause or source of the exception.

getErrorCode

DXMException Class

Extracts the Win32 error code. Consult a Win32 reference for more information.

Syntax

public int getErrorCode( );

Return Value

Returns the integer error code.

getErrorString

DXMException Class

Extracts the error string from the exception.

Syntax

public String getErrorString( );

Return Value

Returns an error string of type java.lang.String.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.