Handling Exceptions
- Exception Handling in Oracle BPM
Oracle BPM 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 those caused by failures on the underlying software or hardware infrastructure. System exceptions are not expected problems within the business process logic.
- Business Exceptions
Business exceptions are expected conditions that prevent a process instance from advancing in the process. Unlike System exceptions, business exceptions are triggered by your business process rules. They denote that some condition in the business logic has not been met. Failure to pass 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 exception is raised and is not handled within PBL code. The exception is then propagated to the process level.
- Typical Exception Handling Flow
- Creating an Exception Flow in a Process
- Creating a Business Exception