Class Effect0.X

Enclosing class:
Effect0

public abstract static class Effect0.X extends Effect0
Version of Effect0 that allows for throwing a checked exception.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opencastproject.util.data.Effect0

    Effect0.X
  • Constructor Summary

    Constructors
    Constructor
    Description
    X()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final void
    run()
    Run the side effect.
    protected abstract void
    Run the side effect.

    Methods inherited from class org.opencastproject.util.data.Effect0

    apply

    Methods inherited from class org.opencastproject.util.data.Function0

    then, then

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • X

      public X()
  • Method Details

    • run

      protected final void run()
      Description copied from class: Effect0
      Run the side effect.
      Specified by:
      run in class Effect0
    • xrun

      protected abstract void xrun() throws Exception
      Run the side effect. Any thrown exception gets "chucked" so that you may catch them as is. See Functions.chuck(Throwable) for details.
      Throws:
      Exception