Interface ThrowingSupplier<T>

All Superinterfaces:
Supplier<T>

public interface ThrowingSupplier<T> extends Supplier<T>

ThrowingSupplier interface.

Since:
1.6.5
Version:
${version}
Author:
Joseph Verron
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    get()
    get.
    throwingGet.
  • Method Details

    • get

      default T get()

      get.

      Specified by:
      get in interface Supplier<T>
      Returns:
      a T object
      Since:
      1.6.6
    • throwingGet

      T throwingGet() throws Exception

      throwingGet.

      Returns:
      a T object
      Throws:
      Exception - if any.
      Since:
      1.6.6