Class ControlFlow.Catcher

  • Enclosing class:
    ControlFlow

    public static class ControlFlow.Catcher
    extends Object
    Represents a catch clause.
    • Method Detail

      • block

        public ControlFlow.Block block()
        Returns the first block of the catch clause.
      • type

        public String type()
        Returns the name of the exception type that this catch clause catches.