It is probably there just to set up that ternary which could catch an exception.