Exception Handling
- Exception Handling in ALBPM
ALBPM provides multiple ways of handling exceptions that occur outside of the normal flow of a program. The specific way used depends on where the exception occurs and what causes it.
- System Exceptions
System exceptions are often caused due to temporary errors such as connectivity failure or timeouts. These are often temporary errors that can be resolved by re-running the method.
- Business Exceptions
Business exceptions are exceptions that occur outside of the main flow of your process. Unlike system exceptions, business exceptions are implemented as part of your business process model. However, they are handled as exceptions because they fall outside of the main flow. A credit score check, for example, could be handled as a business exception.
- Code-level Exception Handling
Code-level Exception handling allows you to write code to deal with problems that occur within the scope of a PBL task.
- Process-level Exception Handling
Process-level exceptions occur when a code/PBL exception occurs and is not handled. The exception is then propagated to the process level.
- Typical Exception Handling Flow