Tried to handle an exception.