DXMException Class


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.

Constructor

bullet1.gifDXMException


DXMException

Constructs a DXMException object.

public DXMException(
  int error,
  String string
  );

Parameters
error
A Win 32 error code. Consult a Win 32 reference for more information.
string
Describes the cause or source of the exception.

Methods

bullet1.gifgetErrorCode

bullet1.gifgetErrorString


getErrorCode

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

public int getErrorCode;

Return Values

Returns the integer error code.


getErrorString

Extracts the error string from the exception.

public String getErrorString( );

Return Values

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

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.