Glossaria.net

Glossary Java / Term

try

A Java programming language keyword that defines a block of statements that may throw a Java language exception. If an exception is thrown, an optional catch block can handle specific exceptions thrown within the try block. Also, an optional finally block will be executed regardless of whether an exception is thrown or not. See also exception handler.

Permanent link try - Creation date 2022-01-03


< transient Glossary / Java type >