Files
openide/java/java-impl/resources/fileTemplates/code/Catch Statement Declaration.java.html
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

29 lines
1.4 KiB
HTML

<html>
<body>
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
<tr>
<td><font face="verdana" size="-1">Fills the
<b>catch</b> parameter when it is generated, e.g. when the
<i>Code | Surround with...</i> function is called.<br>
This built-in template is editable. For example, you can make the generated parameter final and always use the predefined name despite of
the qualified name of the caught exception.</font>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
<tr>
<td colspan="3"><font face="verdana" size="-1">Predefined variables take the following values:</font></td>
</tr>
<tr>
<td valign="top"><nobr><font face="verdana" size="-2" ><b>${EXCEPTION}</b></font></nobr></td>
<td width="10">&nbsp;</td>
<td width="100%" valign="top"><font face="verdana" size="-1">Name of the <b>Exception</b> variable specified as a <b>catch</b> parameter derived from the caught exception type, <b>e</b>, if the qualified name ends with Exception.</font></td>
</tr>
<tr>
<td valign="top"><nobr><font face="verdana" size="-2" ><b>${EXCEPTION_TYPE}</b></font></nobr></td>
<td width="10">&nbsp;</td>
<td width="100%" valign="top"><font face="verdana" size="-1">Type of the <b>catch</b> parameter.</font></td>
</tr>
</table>
</body>
</html>