Update AllLinkTestClass.java

Try catch added for accidental changes in folder