finished java oo, class
writing exception.