throw an exception
常见例句
- But why throw an exception?
但是爲什麽拋出一個異常呢? - Unless you change this property, a command that runs for over 30 seconds will time out and throw an exception.
除非更改此屬性,否則運行 30 秒後,命令就會超時,竝且將拋出一個異常。 - This response should throw an exception because the temperature value is not a float type -- it is actually a string.
這個響應會拋出一個異常,因爲溫度的值不是浮點類型 ― 它實際上是一個字符串。 - 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 返回 throw an exception