Class RunnableExceptionWrapper

  • All Implemented Interfaces:
    Runnable

    public class RunnableExceptionWrapper
    extends Object
    implements Runnable
    Wraps another runnable and keeps track of thrown exceptions
    • Constructor Detail

      • RunnableExceptionWrapper

        public RunnableExceptionWrapper​(Runnable runnable)
    • Method Detail

      • getException

        public Exception getException()
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • throwIfNeeded

        public void throwIfNeeded()