什么时候会有一个StackOverError http://docs.oracle.com/javase/7/docs/api/java/lang/StackOverflowError.html被扔掉?
或者更确切地说,什么时候not被扔掉?
For example,如果我们使用原始运算符+
, +=
, -
, -=
, ==
<
, >
, /
, %
, etc:
try {
// operations +, +=, -, -=, == <, >, /, %, etc
} catch (java.lang.StackOverflowError e) {
// will never occur?
}
有什么保证吗StackOverflowError
不会被扔吗?