added java command to print out the exception table