The thread stack hits the limit and thus new frame cannot be allocated.
This is a fundamental system error and can be thrown any time during the runtime, not necessarily where a function is called. If the engine is experiencing such failure there is no guarantee that it can continue to function normally so there is no point of capturing it. In fact this exception won't be caught by catch clause in a try-catch statement.
Parent Class
Type | Name | Signature |
---|---|---|
constructor | StackOverflowException | public StackOverflowException() |
public StackOverflowException()
Create a platform class running exception with fixed message. While entirely legal, it's not recommended for a user to create such instances.