![]() |
![]() | ![]() |
![]() |
| |||
|
ErrorAndWarningReceiver Interface
This interface, in conjunction with Viewer.registerErrorAndWarningReceiver, allows the application to register an object that will have its methods called when errors and warnings occur in the DirectAnimation system.
ErrorAndWarningReceiver Methods
handleError Invoked when an error occurs outside of the invocation of a tick(). In addition, ticking is halted. handleTickError Invoked specifically for error messages incurred inside of a tick. In addition, ticking is halted. handleTickWarning Invoked specifically for warning messages incurred inside of a tick(). handleWarning Invoked when a warning occurs outside of the invocation of a tick(). handleError
ErrorAndWarningReceiver InterfaceInvoked when an error occurs outside of the invocation of a tick(). In addition, ticking is halted.
Syntax
public abstract void handleError( int error, String s, Viewer v );Parameters
- error
- Microsoft® Win32® error code. Consult a Win32 reference for more information.
- s
- Error message.
- v
- Viewer object on which the warning occurred.
handleTickError
ErrorAndWarningReceiver InterfaceInvoked specifically for error messages incurred inside of a tick. In addition, ticking is halted.
Syntax
public abstract void handleTickError( int error, String s, Viewer v );Parameters
- error
- Win32 error code. Consult a Win32 reference for more information.
- s
- Error message.
- v
- Viewer object on which the error occurred.
handleTickWarning
ErrorAndWarningReceiver InterfaceInvoked specifically for warning messages incurred inside of a tick().
Syntax
public abstract void handleTickWarning( int error, String s, Viewer v );Parameters
- error
- Win32 error code. Consult a Win32 reference for more information.
- s
- Warning message.
- v
- Viewer object on which the error occurred.
handleWarning
ErrorAndWarningReceiver InterfaceInvoked when a warning occurs outside of the invocation of a tick().
Syntax
public abstract void HandleWarning( int error, String s, Viewer v );Parameters
- error
- Win32 error code. Consult a Win32 reference for more information.
- s
- Warning message.
- v
- Viewer object on which the error occurred.
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.