回答編集履歴
1
エラーメッセージ表示の変更
answer
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
```
|
2
2
|
Thread.UncaughtExceptionHandler h = new Thread.UncaughtExceptionHandler() {
|
3
3
|
public void uncaughtException(Thread th, Throwable ex) {
|
4
|
-
System.
|
4
|
+
System.err.println("再生できませんでした。オーディオデバイスの状態を確認してください。");
|
5
5
|
}
|
6
6
|
};
|
7
7
|
thread.setUncaughtExceptionHandler(h);
|