Java 类com.amazonaws.mobileconnectors.cognito.exceptions.DataStorageException 实例源码

项目:aws-cognito-sync-issues    文件:CustomSyncCallBack.java   
@Override
public void onFailure(DataStorageException dse) {

    String message = String.format("Got %s - %s while synchronizing dataset...", dse.getClass().getSimpleName(), dse.getMessage());
    Log.e(TAG, message, dse);

    super.onFailure(dse);
}
项目:snake-game-aws    文件:CognitoSyncTask.java   
@Override
public void onFailure(final DataStorageException dse) {
    callingActivity.runOnUiThread(new Runnable() {
        @Override
        public void run() {
            dialog.dismiss();
            Log.e("Sync", "failed: " + dse);
            Toast.makeText(callingActivity,
                "Sync Failed due to\n" + dse.getMessage(), Toast.LENGTH_LONG)
                .show();
            dse.printStackTrace();
        }
    });
}
项目:aws-mobile-self-paced-labs-samples    文件:CognitoSyncTask.java   
@Override
public void onFailure(final DataStorageException dse) {
    callingActivity.runOnUiThread(new Runnable() {
        @Override
        public void run() {
            dialog.dismiss();
            Log.e("Sync", "failed: " + dse);
            Toast.makeText(callingActivity,
                "Sync Failed due to\n" + dse.getMessage(), Toast.LENGTH_LONG)
                .show();
            dse.printStackTrace();
        }
    });
}