refactor douban error handing exceptions