Skip to content

Commit 22fa43f

Browse files
authored
Merge pull request #276 from habibasorour/issue_275_list
Issue 275 fixed: add table in 4.5 link in text
2 parents fbb435e + 7b1fff9 commit 22fa43f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/ch4_conditionals.ptx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,11 @@ The <c>switch</c> statement is not used very often, and we recommend you do not
348348
<p>
349349
<idx>checked exception</idx>
350350
<idx>unchecked exception</idx>
351-
Exceptions in Java fall under two categories: checked and unchecked. <term>Checked exceptions</term> must be explicitly imported and declared along with <c>try-catch</c> blocks for a program to compile. <term>Unchecked exceptions</term> do not need to be imported unless <c>try-catch</c> blocks are implemented for them (except for <c>java.lang</c> exceptions). <c>InputMismatchException</c> is an unchecked exception that is not part of the <c>java.lang</c> library, so it is only included if <c>try-catch</c> blocks declare it. Here are some common exceptions used with <c>try-catch</c> blocks:
351+
Exceptions in Java fall under two categories: checked and unchecked. <term>Checked exceptions</term> must be explicitly imported and declared along with <c>try-catch</c> blocks for a program to compile. <term>Unchecked exceptions</term> do not need to be imported unless <c>try-catch</c> blocks are implemented for them (except for <c>java.lang</c> exceptions). <c>InputMismatchException</c> is an unchecked exception that is not part of the <c>java.lang</c> library, so it is only included if <c>try-catch</c> blocks declare it. <xref ref="java-exceptions" text="type-global"/> shows the exceptions used with <c>try-catch</c> blocks.
352352
</p>
353353

354-
<table>
355-
<title>Exceptions</title>
354+
<table xml:id="java-exceptions">
355+
<title>Java Exceptions Used with <c>try-catch</c> Blocks</title>
356356
<tabular>
357357
<row>
358358
<cell><term>Exception</term></cell>

0 commit comments

Comments
 (0)