結果 : how to handle null pointer exception in java using try catch