Error handling

BTT Web 2.0 On-Demand Workplace provides a debug mechanism, which includes log, debug, error, warn, assert, info and so on. It requires that your browser have installed the corresponding debugger (Firebug Lite). For example, Firebug for Firefox, or Firebug Lite for IE.

BTT Web 2.0 On-Demand Workplace provides various kinds of exception types for the you to detect and locate the cause of an error or an exception.

Following is an example for exception handling in BTT Web 2.0 On-Demand Workplace:

Error definition in widget JavaScript:
var rootNodeError=this.iContext.getElementsByClass({});

When running the application, the error information is found in Firebug console:

the error information found in Firebug console