exception throw
基本解释
- 引发异常
英汉例句
- If the criterion is not met you can raise an exception using the Throw node.
如果不满足条件,您可以使用 Throw 节点引发一个异常。 - To deal with this, you can generate a stack trace in the constructor of the exception object during the throw exception statement.
为了解决这一问题,可以在抛出异常语句期间,在异常对象的构造函数中生成一个堆栈跟踪。 - When determining what type of exception to throw, you should always first consider the tier that will handle the reported exception.
当决定抛出何种类型的异常时,您应该总是首先考虑将要处理所报告异常的层。 - The format is the same. I'm going to ask for some input, and then I am going to use that procedure to check, is this the right type of value. And I'm trying to use that to do the coercion if you like. Same thing if it works, I'm going to skip that, if it not, it's going to throw the exception.
格式是一样的,我需要一些输入,然后我要用一个过程来检查,是否是正确的值,然后你就可以做强制转换了,如果能运行,那是一样的,我打算跳过这段,如果不正确,那就会抛出一个异常。
麻省理工公开课 - 计算机科学及编程导论课程节选 - The NSTextAlignmentNatural value is unsupported and will throw an exception when used with the textAlignment property of UILabel or supplied as the alignment parameter to the drawInRect:withFont:lineBreakMode:alignment: method of NSString.
ENGADGET: Apple seeds iOS 6 beta 4 to developers: here's the changelog
双语例句
原声例句
权威例句
词组短语
- exception n throw 引发异常
- throw exception 抛出异常
- re -throw Exception 你会重抛异常
- R throw throw exception 抛出异常
- throw an exception 引发异常;抛出一个异常;抛出异常;异常
短语
专业释义
- 引发异常