public void writeToParcel(Parcel parcel, int flags) throws IOException {
doSomethingThatThrowsIOException();
}
コンパイラをクォートします。
例外IOExceptionは、Parcelable.writeToParcel(Parcel、int)のthrows句と互換性がありません
Parcelable
ドキュメントや実際のコードのどこにもthrows句がありません。これは厄介なスレッドの問題ですか?