| Issue 71: | [easygou-client] We need to handle the exception throws from easygou-client-api | |
| 1 person starred this issue and may be notified of changes. | Back to list |
MessageListViewAdapter.java
protected void appendCachedData() {
.....
} catch (EasygouClientException ece) {
throw new RuntimeException(ece);
}
}
SearchMessageActivity.java
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
} catch (EasygouClientException ece) {
Log.e(TAG, "Catch exception!");
throw new RuntimeException(ece);
}
this.startActivity(intent);
}
Please refer to
PostMessageActivity.java
@Override
public void run() {
} catch (EasygouClientException e1) {
// TODO Auto-generated catch block
Log.i(PostMessageRunnable.class.toString(), e1.toString());
msg = this.messageHandler.obtainMessage();
msg.setData(Util.getStringAsBundle("error。。。" + e1.toString()));
this.messageHandler.sendMessage(msg);
} catch (Exception e1) {
Log.i(PostMessageRunnable.class.toString(), e1.toString());
msg = this.messageHandler.obtainMessage();
msg.setData(Util.getStringAsBundle("error。。。" + e1.toString()));
this.messageHandler.sendMessage(msg);
} finally {
}
}
Mar 20, 2013
Project Member
#1
chendequ...@gmail.com
Labels:
Milestone-Release2.0
Oct 21, 2013
Fixed
Status:
Fixed
|