overridden method does not throw 'com.miaosha.error.BusinessException'
'register(UserModel)' in 'com.miaosha.service.impl.UserServiceImpl' clashes with 'register(UserModel)' in 'com.miaosha.service.UserService'; overridden method does not throw 'com.miaosha.error.BusinessException'
2019-01-19
實(shí)現(xiàn)類和對(duì)應(yīng)的接口類的方法不一樣,應(yīng)該是接口類在定義時(shí)沒有throw BusinessException.
2019-03-05
在UserService接口中這樣定義re'gister方法,