抛出异常
例句与用法
- To see if an exception is raised in a certain line of code , you can add an
要查看在某行代码中是否抛出异常,您可以直接在这行代码之后加入 - The runtime throws an exception if a caller attempts to invoke an invalid operation
如果呼叫者试图呼叫无效的操作,那么运行时将抛出异常。 - Are method arguments validated and rejected with an exception if they are invalid
所有方法的参数的合法性是否做验证,对非法的参数是否抛出异常 - If the required relationship is not present , then it throws an exception and raises an alert
如果所需关系不存在,则该方法抛出异常并发出警报。 - In java code , statements that are expected to throw an exception or a warning are enclosed in a
在java代码中,希望抛出异常或者警告的语句包含于 - Pattern is not necessary if you simply want undefined cases to raise an exception
如果您只想在遇到未定义的情况时抛出异常,那么就没必要使用落后的 - However , about 1 3 of the time , the service will fail to create an id and throw an exception
然而,大约1 / 3的时间,服务未能创建标识以及抛出异常。 - Otherwise , if the protected code threw an exception , the lock might never be released
否则,如果受保护的代码将抛出异常,锁就有可能永远得不到释放! - When that behavior is seen , your connector will throw an exception any time and
如果是这种情况,每当*和?用作文字而不是通配符时,连接器应该抛出异常。 - Technically , you can even throw exceptions freely without too much cost . it s not the throw
从技术上讲,您甚至可以随意地抛出异常,而不用花费很大的代价。
用"抛出异常"造句