ruby exception -> java exception is impossible