Ultra Light Client Guide and Reference

Default exception handling in ULC

ULC handles instances of three exception classes (and their subclasses). Behavior varies with environment.

ExError

During development, the following occurs:

  1. ULC opens an Inspector window on the context in which the error occurred. You must manually terminate the context because it will no longer be able to process user input.
  2. ULC opens a Debugger window on the process in which the error occurred.

At run time, the following occurs:

  1. ULC logs the error with the debugger.
  2. ULC attempts to display an error message in the UI to inform the user that the connection is being closed because of an error.
  3. ULC terminates the active context.

ExHalt

During development, ULC opens a Debugger window on the process in which the exception occurred.

At run time, ULC ignores this event and resumes the process.

ExUserBreak

During development, ULC opens a Debugger window on the process in which the exception occurred.

At run time, ULC ignores this event and resumes the process.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]