为何抛出的thrift定义的异常没有透传?

thrift方法声明必须声明该方法需要throws异常种类

service CardService {
    CardDTO.CardDTO getByCardId(1:i32 kdtId, 2:i64 cardId) throws (1:ScrmException.ScrmException e);
}

results matching ""

    No results matching ""