Interface CheckedRunnable<E extends java.lang.Exception>

  • All Superinterfaces:
    java.lang.Runnable
    All Known Subinterfaces:
    CheckedEolRunnable
    All Known Implementing Classes:
    ConstraintAtom, ConstraintContextAtom, EvlAtom, ExecutableRuleAtom, GenerationRuleAtom
    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 CheckedRunnable<E extends java.lang.Exception>
    extends java.lang.Runnable
    Since:
    1.6
    Author:
    Sina Madani
    • Method Detail

      • run

        default void run()
                  throws java.lang.RuntimeException
        Specified by:
        run in interface java.lang.Runnable
        Throws:
        java.lang.RuntimeException
      • runThrows

        void runThrows()
                throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception