Change the exception catch sentence from multiple catch to several single catch for language level compatibility.