Harden against exceptions that may occur