![]() |
![]() | ![]() |
![]() |
| |||
|
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 Microsoft® Win32® error code. getErrorString Extracts the error string from the exception. DXMException
DXMException ClassConstructs 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 ClassExtracts the Win32 error code. Consult a Win32 reference for more information.
Syntax
public int getErrorCode( );
Return Value
Returns the integer error code.
getErrorString
DXMException ClassExtracts the error string from the exception.
Syntax
public String getErrorString( );
Return Value
Returns an error string of type java.lang.String.
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.