Java View all facts Glossary Help |
syntactic unit > scoping unit > block > catch block |
catch block | ||||
subject | fact |
catch block | has purpose to catch a particular type of exception | |
has syntax // a try-catch-finally statement showing the catch blocks in bold | ||
is part of try-catch-finally statement | ||
is a subtopic of Exception Handling | ||
is a kind of block | ||
block | contains several statements surrounded by braces | |
has example { | ||
has layout example style preferred by Sun:if(condition) { | ||
has layout example style preferred by the authors:if(condition) | ||
is used as the body of classes, loops, conditional statements and for exception handling | ||
syntactic unit | has syntax rule bold = mandatory |