public class DXMException extends java.lang.RuntimeException { // Constructor public DXMException(int error, String string); // Methods public int getErrorCode(); public String getErrorString(); }
DXMException objects are thrown when any detected error occurs in the DirectAnimation system. They contain a string that should describe the source or the cause of the exception.
Constructs a DXMException object.
public DXMException(
int error,
String string
);
Extracts the Win 32 error code. Consult a Win32 reference for more information.
public int getErrorCode;
Returns the integer error code.
Extracts the error string from the exception.
public String getErrorString( );
Returns an error string of type java.lang.String.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.