Exception chaining: Difference between revisions

Content deleted Content added
Sample was bad: increased coupling beteween abstraction layers. This coupling should be broken.<br/>Example italized
Term not used by anybody.
Line 5:
Throwing the right kind of exceptions is particularly enforced by [[exception handling#Checked exceptions|checked exceptions]] in the [[Java (programming language)|Java programming language]], and starting with language version 1.4 all exceptions support chaining.
 
In runtime engine environments such as Java or .Net there exist tools that attach to the runtime engine and everytimeevery time that an exception of interest occurs they record debugging information that existed in memory at the time the exception was thrown (stack and heap values). These tools are called Exception Interception or Error Interception tools and they provide 'root-cause' information for exceptions in Java programs that run in production, testing or development environments.