Index Topic Contents | |||
Previous Topic: DXMEvent Class Next Topic: EndStyleBvr Class |
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 Class
DXMException ConstructorConstructs 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
DXMException Class
getErrorCodeExtracts the Win32 error code. Consult a Win32 reference for more information.
public int getErrorCode;
Return Values
Returns the integer error code.
DXMException Class
getErrorStringExtracts the error string from the exception.
public String getErrorString( );
Return Values
Returns an error string of type java.lang.String.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.