System Faults
System Faults are thrown when a runtime error occurs at system or infrastructure level. Unreachable services at runtime are one of the occurrences of the runtime error.
Business Faults
Business Faults are generally thrown when a conditional exception occurred while processing the business logic of a particular service. These exceptions are generally raised due to the business rule violations, passing invalid data to the services etc.
Exception handling in BPEL services
BPEL supports two levels of exception handlers with respect to the scope
- Scope level
- Process level
BPEL's default Compensation handler
Default Termination handler
Exception handling in mediator components
Mediator components support runtime exceptions and they are categorized into groups -
- All Exceptions
- Data-related exceptions
- Database or infrastructure exceptions
- Recoverable/Retry-able errors