Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How does an exception permeate through the code?
How does an exception permeate through the code?
✍: Guest
An unhandled exception moves up the method stack in search of a matching When an exception is thrown from a code which is wrapped in a try block followed by one or more catch blocks, a search is made for matching catch block. If a matching type is found then that block will be invoked. If a matching type is not found then the exception moves up the method stack and reaches the caller method. Same procedure is repeated if the caller method is included in a try catch block. This process continues until a catch block handling the appropriate type of exception is found. If it does not find such a block then finally the program terminates.
2013-05-31, 2204👍, 0💬
Popular Posts:
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written...
Why is it preferred to not use finalize for clean up? Problem with finalize is that garbage collecti...
Do You Know the Book "JUnit in Action"? You should know this book. It received some good reviews. Ti...
I have 5 questions please give me the answer ,explanation,suggestions if any?? what is PMP(project m...