java里定义了新的对象,如日期对象,就需要try catch来处理。否则报unhandled exception type parseexception 错误 转载于:https://blog.51cto.com/garlics/895866