List of usage examples for java.io InvalidClassException printStackTrace
public void printStackTrace()
From source file:com.kaichaohulian.baocms.ecdemo.ui.chatting.ChattingFragment.java
/** * ?????????// w w w. jav a2 s. c o m */ private void setChattingContactId(String contactid) { try { ECPreferences.savePreference(ECPreferenceSettings.SETTING_CHATTING_CONTACTID, contactid, true); } catch (InvalidClassException e) { e.printStackTrace(); } }
From source file:com.kaichaohulian.baocms.ecdemo.ui.chatting.ChattingFragment.java
/** * ???//from www . j a v a2 s . c o m */ private void checkPreviewImage() { if (TextUtils.isEmpty(mFilePath)) { return; } boolean previewImage = ECPreferences.getSharedPreferences().getBoolean( ECPreferenceSettings.SETTINGS_PREVIEW_SELECTED.getId(), (Boolean) ECPreferenceSettings.SETTINGS_PREVIEW_SELECTED.getDefaultValue()); if (previewImage) { try { ECPreferences.savePreference(ECPreferenceSettings.SETTINGS_PREVIEW_SELECTED, Boolean.FALSE, true); new ChattingAsyncTask(getChattingActivity()).execute(mFilePath); mFilePath = null; } catch (InvalidClassException e) { e.printStackTrace(); } } }