首页- 单词大全
您的足迹:

英文单词大全搜索

classcastexception是什么意思 classcastexception的用法例句

classcastexception(意思翻译)

类异常



classcastexception(双语使用场景)

1、ClassCastException - if the value is of an inappropriate type for this map (optional).───如果值的类型对于map而言不适当抛出(可选)。

2、You don't need to write any special code for this exception, since it indicates a programmer error that could happen anywhere in a program.───否则你将会得到一个ClassCastException异常信息。你不需要为该异常信息写特殊的代码,因为它提示程序错误,它会发生在程序的任何一个地方。

3、The result of running C's main method might surprise you -- it'll issue a ClassCastException!───运行C的main方法的结果可能会让您吃惊―它将发出一个ClassCastException!

4、If either of the above rules are violated, then a ClassCastException is thrown by the class loader.───如果违反了以上任何一条规则,那么类装入器就会抛出ClassCastException。

5、In the previous code, we'd expect that if register( "test" ) were called on an instance of C, a ClassCastException would be signaled.───在以前的代码中,我们认为如果对实例C调用register(“test”),会发出ClassCastException。

6、ClassCastException - if the specified object's type prevents it from being compared to this Object.───如果指定的对象类型不允许它和该对象进行比较时抛出。

7、result of running c's main method might surprise you — it'll issue a ClassCastException!───运行c的main方法的结果可能会让您吃惊—它将发出一个ClassCastException !

8、Another exception that can be thrown by the class loader is ClassCastException.───类装入器能够抛出的另一个异常是ClassCastException。

9、Attempting to add an ineligible element throws an unchecked exception, typically NullPointerException or ClassCastException .───试图加入一个不适当的元素会抛出未检查异常,通常为NullPointerException或ClassCastException。



classcastexception(相关推荐)

最近查询的英语单词 更多