Interface CatchBuilder

All Known Implementing Classes:
StdCatchBuilder

public interface CatchBuilder
Interface for the construction of CatchTable instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds and returns the catch table for this instance.
    Gets the set of catch types associated with this instance.
    boolean
    Gets whether this instance has any catches at all (either typed or catch-all).
  • Method Details

    • build

      CatchTable build()
      Builds and returns the catch table for this instance.
      Returns:
      non-null; the constructed table
    • hasAnyCatches

      boolean hasAnyCatches()
      Gets whether this instance has any catches at all (either typed or catch-all).
      Returns:
      whether this instance has any catches at all
    • getCatchTypes

      HashSet<Type> getCatchTypes()
      Gets the set of catch types associated with this instance.
      Returns:
      non-null; the set of catch types