## 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.

- DXMException Constructor
- DXMException Methods

###

DXMException Constructor

DXMException Class

Constructs a DXMException object.

public DXMException(
int error,
String string
);

##### Parameters

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

### DXMException Methods

getErrorCode

getErrorString

####

getErrorCode

DXMException Class

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

public int getErrorCode;

##### Return Values

Returns the integer error code.

####

getErrorString

DXMException Class

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.