結果 : java throw exception if object is null