Adding exception handling to Android client