包裝器業(yè)務(wù)異常類如何理解
怎么理解BusinessException CommonError EmBusinessError這三個類之間的關(guān)系?
EmBusinessError和BusinessException都實(shí)現(xiàn)CommonError而且EmBusinessError中還有一個CommonError屬性感覺好亂啊
對這三個之間的關(guān)系理解有點(diǎn)混亂
怎么理解BusinessException CommonError EmBusinessError這三個類之間的關(guān)系?
EmBusinessError和BusinessException都實(shí)現(xiàn)CommonError而且EmBusinessError中還有一個CommonError屬性感覺好亂啊
對這三個之間的關(guān)系理解有點(diǎn)混亂
舉報
2019-07-31
我也不知道
求解答
2019-02-12
定義一個BaseError基類有errMsg和errCode兩個屬性
讓BusinessException和EmBusinessError去繼承這樣行嗎