Skip to content

Commit 5bb3ac8

Browse files
committed
add table linkin text
1 parent fbb435e commit 5bb3ac8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/ch4_conditionals.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ 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>
354+
<table xml:id="java-exceptions">
355355
<title>Exceptions</title>
356356
<tabular>
357357
<row>

0 commit comments

Comments
 (0)