Entry.java and modifying exception handling