b0f9864bc4
The exception objects caught are either not referenced at all, or only in debug builds. This avoids the warnings for the unused variables.