try {
base64Code = Base64.encodeBase64String(data); //可能会出现异常的语句
}catch(Exception e){
System.out.println("base64Code:::"+e.toString());//出现异常的处理
}
Android:try catch
猜你喜欢
转载自blog.csdn.net/title71/article/details/113973780
今日推荐
周排行