Removed a redundant check of a known non-null value
Don't catch an Exception not thrown within the try block