thrift方法声明必须声明该方法需要throws异常种类
service CardService { CardDTO.CardDTO getByCardId(1:i32 kdtId, 2:i64 cardId) throws (1:ScrmException.ScrmException e); }