removed multiple Exceptions per catch block for java 6 compatibility