Fixed for Java 1.6

Fixed code so it work with Java 1.6
Fixed missing return into a try-catch block. (EconHook.java)