try {
Drawable drawable = Drawable.createFromStream(
WebConnection.connect("http://dean.pku.edu.cn/student/yanzheng.php?act=init"),
"dean");
handler.sendMessage(Message.obtain(handler, Constants.MESSAGE_DEAN_PICTURE_FINISHED, drawable));
<BUG>} catch (Exception e) {
</BUG>
handler.sendEmptyMessage(Constants.MESSAGE_DEAN_PICTURE_FAILED);
}
}

try {
Drawable drawable = Drawable.createFromStream(
WebConnection.connect("http://dean.pku.edu.cn/student/yanzheng.php?act=init"),
"dean");
handler.sendMessage(Message.obtain(handler, Constants.MESSAGE_DEAN_PICTURE_FINISHED, drawable));
} catch (Exception | Error e) {
handler.sendEmptyMessage(Constants.MESSAGE_DEAN_PICTURE_FAILED);
}
}
