Do some exercies about Exception in Java