1) display exception for java 2) save log for all submissions