Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は OCP 7 の準備をしていて、その認定書の 1 つでこのエッセイに出会いました。
例外をアサーションで代用しようとするのを思いとどまらせるために、AssertionError はそれを生成したオブジェクトへのアクセスを提供しません。取得できるのは String メッセージだけです。
言われていることを実行するために多くの可能性を試しましたが、他のAssertionError人との違いは見つかりませんでした.
AssertionError
その引用が何を意味するのか説明してもらえますか?