The following is a description of how the toolkit uses custom exception handling:
▪ When the application starts, initialization manager reads btt.xml to initialize all of the components, which include settings, trace, data, format, context, operation, processor, service, and invoker.
▪ When the application reads configurations in btt.xml, the toolkit initializes the custom exception handler according to exceptionHandler tag.
▪ The custom exception handler takes corresponding actions according to predefined custom logic if exceptions are caught.