Exception handling syntax: Difference between revisions

Content deleted Content added
m Reverted edits by Sipraj (talk): using Wikipedia for advertising/promotion (HG) (3.4.10)
Sipraj (talk | contribs)
m Java can print the error to the console\
Tag: Reverted
Line 449:
// Normal execution path.
throw new EmptyStackException();
} catch (ExampleException ee) {<ref>
ee.printStackTrace(); // to print the error details to the console for troubleshooting</ref>
// Deal with the ExampleException.
} finally {