ExceptionCallback is used in situation where it is not possible to return a checked exception, such as when implementing a custom iterator. The callback implementation