Module io.jooby
Package io.jooby

Interface SneakyThrows.Runnable

All Superinterfaces:
Runnable
Enclosing class:
SneakyThrows
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SneakyThrows.Runnable extends Runnable
Throwable version of Runnable.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    run()
    Run task.
    void
    Run task.
  • Method Details

    • tryRun

      void tryRun() throws Exception
      Run task.
      Throws:
      Exception - Is something goes wrong.
    • run

      default void run()
      Run task.
      Specified by:
      run in interface Runnable