Didn't realize I had left this in my commit. However, since I did I'll ask my question here: Do you mind if I change this to be two separate catch blocks with the same logic? The syntax here isn't supported by java versions earlier than 7. Such versions are used on the school machines, and apparently on my home machine, though the latter would be easily fixed.