Interface CodeBuilder.CatchBuilder

Enclosing interface:
CodeBuilder

public static sealed interface CodeBuilder.CatchBuilder
A builder to add catch blocks.

The order of catch blocks is significant. When an exception is thrown by the try block, the first catch block whose exception type is the same class as or a superclass of the class of exception thrown is branched to (JVMS 2.10).

Since:
24
See Also: