i***l 发帖数: 110 | 1 Phone interview被问什么data type不能被当作exception抛出? | m****n 发帖数: 145 | | i***l 发帖数: 110 | 3 C++
【在 m****n 的大作中提到】 : 什么语言?Java?
| l********e 发帖数: 6 | 4 pointer type. say, you have a local object like:
void foo() {
Employee x;
...
throw &x;
}
When caller of foo() catch the exception, x has been destructed already. |
|