September 2018
Intermediate to advanced
462 pages
13h 28m
English
To perform walking over the stack elements we need an instance of StackWalker. To do that, we invoke the getInstance() method. As shown here, there are four overloaded versions of this method:
The first version does not take any arguments and returns a StackWalker instance that will let us walk through normal stack frames. This is usually what we would be interested in. The other versions of the method accept a StackWalker.Option value or values. The enum StackWalker.Option ...
Read now
Unlock full access