When an assertion fails, an exception is thrown.
当断言失败时,就会抛出一个异常。
Assertion checking is like exception handling, but no exception is thrown when an assertion fails. Instead, an.
断言检查就象异常处理,但是当断言失败时,却不会抛出异常,而会抛出一个。
When an assertion fails, a message dialog box displays the name of the source file and the line number of the assertion.
当断言失败时,将有一个消息对话框显示断言的源文件的名称和行号。
Assertion checking is like exception handling, but no exception is thrown when an assertion fails. Instead, an AssertionError is thrown.
断言检查就象异常处理,但是当断言失败时,却不会抛出异常,而会抛出一个AssertionError。
Assertion checking is like exception handling, but no exception is thrown when an assertion fails. Instead, an AssertionError is thrown.
断言检查就象异常处理,但是当断言失败时,却不会抛出异常,而会抛出一个AssertionError。
应用推荐