Interface ThrowableRunnable

  • 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 interface ThrowableRunnable
    Throwable Runnable
    Since:
    0.1
    Author:
    PARK Yong Seo
    See Also:
    Runnable
    • Method Summary

      Modifier and Type Method Description
      static java.lang.Runnable ignore​(ThrowableRunnable runnable)
      ignore exception
      this method recommend only special situation
      void run()  
      static java.lang.Runnable runtime​(ThrowableRunnable runnable)
      throws Exception lambda to throws RuntimeException lambda
    • Method Detail

      • run

        void run()
          throws java.lang.Exception
        Throws:
        java.lang.Exception
        See Also:
        Runnable
      • runtime

        static java.lang.Runnable runtime​(ThrowableRunnable runnable)
        throws Exception lambda to throws RuntimeException lambda
        Parameters:
        runnable -
        Returns:
        Since:
        0.6
      • ignore

        static java.lang.Runnable ignore​(ThrowableRunnable runnable)
        ignore exception
        this method recommend only special situation
        Parameters:
        runnable -
        Returns:
        Since:
        1.1