Interface Run.Safe<E extends Throwable>

All Superinterfaces:
Run<E>
Enclosing interface:
Run<E extends Throwable>

public static interface Run.Safe<E extends Throwable> extends Run<E>
Interface used for the execution of actions very similar to what is done in the Runnable interface. The difference between the previous interface is that this one prevents the throwing of errors.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface ushiosan.jvm_utilities.function.Run

    Run.Safe<E extends Throwable>
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    The same behavior of Run.invoke() but without launch any error

    Methods inherited from interface ushiosan.jvm_utilities.function.Run

    invoke
  • Method Details

    • safeInvoke

      default void safeInvoke()
      The same behavior of Run.invoke() but without launch any error