Fixed multi catch issues with maven compile.