Instead of suppressing an exception first and then checking for null, we should raise the exception within the catch block instead.