Interface CodeBuilder.CatchBuilder

Enclosing interface:
CodeBuilderPREVIEW

public static sealed interface CodeBuilder.CatchBuilder
CatchBuilder is a preview API of the Java platform.
Programs can only use CatchBuilder when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A builder to add catch blocks.
Since:
22
See Also: