webMethods Business Console Documentation 10.5 | webMethods Business Console Documentation | Developing Gadgets for Business Console | Troubleshooting Gadgets | Handling Exceptions
 
Handling Exceptions
The gadget framework in Designer handles all the compile-time errors in your gadget code. To ensure that your gadget is free of syntax error, check the errors and warnings sections, and ensure that no errors are listed. If there are any warnings, program the gadget to handle the warnings to ensure that your gadget works properly. To handle runtime exceptions, you can encapsulate your scope functions in a try/catch block, and log the errors appropriately.

Copyright © 2014-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.