BluePrism.com Advanced Exception Handling TRAINING GUIDE Version 6.2
Exception Handling Guide 1 Commercial in Confidence The training materials and other documentation (“Training Materials”) provided by Blue Prism as part of the training course are Blue Prism’s Intellectual Property and Confidential Information. They are to be used only in conjunction with the Blue Prism Software which is licensed to your company, and the Training Materials are subject to the terms of that license. In addition, Blue Prism hereby grants to you a personal, revocable, non-transferable and non-exclusive license to use the Training Materials in a non-production and non-commer- cial capacity solely for the purpose of training. You can modify or adapt the Training Materials for your internal use to the extent required to comply with your operational methods, provided that you shall (a) ensure that each copy shall include all copyright and proprietary notices included in the Training Materials; (b) keep a written record of the location and use of each such copy; and (c) provide a copy of such record to Blue Prism on request and allow Blue Prism to verify the same from time to time on request. For the avoidance of doubt, except as permitted by the license or these terms, you cannot (a) copy, translate, reverse engineer, reverse assemble, modify, adapt, create derivative works of, decompile, merge, separate, disassemble, determine the source code of or otherwise reduce to binary code or any other human-perceivable form, the whole or any part of the Training Materials; (b) sublease, lease, assign, sell, sub-license, rent, export, re-export, encumber, permit concurrent use of or otherwise transfer or grant other rights in the whole or any part of the Training Materials; or (c) provide or otherwise make available the Training Materials in whole or in part in any form to any person, without prior written consent from Blue Prism. © Blue Prism Limited, 2001 - 2019 All trademarks are hereby acknowledged and are used to the benefit of their respective owners. Blue Prism is not responsible for the content of external websites referenced by this document. Blue Prism Limited, 2 Cinnamon Park, Birchwood, WA2 0XP, United Kingdom Registered in England: Reg. No. 4260035. Tel: +44 870 879 3000. Web:
Exception Handling Guide 2 Commercial in Confidence Contents 1. Introduction 3 1.1 Exception Cases 3 1.2 Visualising Exception Cases 3 Exercise 1.2.1 Inducing an Exception 4 1.3 Application Problems 5 Exercise 1.3.1 Handling an Exception 6 Exercise 1.3.2 Exception Loop 7 Exercise 1.3.3 Isolating Exception Handling 7 Exercise 1.3.4 Avoiding an Exception 9 1.4 Business Rules 10 1.5 Types of Exception 11 Exercise 1.5.1 Handling a Business Rule 15 1.6 Recovery Mode 18 Exercise 1.6.1 Accessing Exception Detail 18 Exercise 1.6.2 Misusing Exception Functions 20 2. Exception Handling Strategies 21 2.1 Retrying 22 2.2 Preserve the type and detail of the current exception 24 Exercise 2.2.1 Using ‘Preserve the type and detail of the current exception’ 24 Exercise 2.2.2 Using Resume 26 2.3 Casting 27 Exercise 2.3.1 Using Resume 27 2.4
You've reached the end of your free preview.
Want to read all 52 pages?
- Summer '09
- ramana rao
- Call stack, Control flow, Blue Prism, Mark Exception