Class Return

All Implemented Interfaces:
Serializable

public class Return extends RuntimeException
Internal, stackless control-flow signal used to return from a function body.
See Also:
  • Field Details

    • value

      public final Object value
      Value returned by the function, or null for an empty return.
  • Constructor Details

    • Return

      public Return(Object value)
      Creates a return signal.
      Parameters:
      value - value carried to the function call boundary