Exceptions Describes exception (error) handling in the programs. Understanding exceptionsExceptions are abnormal runtime events that can be trapped for control.Exception classesException classes indirectly define the exception type.Exception actionsException actions define the type of action to be taken when an exception occurs.WHENEVER instructionUse the WHENEVER instruction to define how exceptions must be handled for the rest of the module.TRY - CATCH blockUse TRY / CATCH blocks to trap runtime exceptions in a delimited code block.Tracing exceptionsException can be logged in a file when using the STARTLOG() function.Default exception handlingDefault exception handling must be adapted to your programming pattern.Non-trappable errorsNon-trappable errors are fatal errors that generally prevent further program execution.ExamplesWHENEVER and TRY/CATCH usage examples.