Use WTF constant.

rearrange if/try block