Handled TempleNotFound exception.