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.
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.
Extracts the Win32 error code. Consult a Win32 reference for more information.
Syntax
public int getErrorCode( );
Return Value
Returns the integer error code.
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
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.