Class LogExceptionRunnable
- java.lang.Object
-
- org.apache.bookkeeper.common.util.LogExceptionRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
public final class LogExceptionRunnable extends java.lang.Object implements java.lang.RunnableA simple wrapper for aRunnablethat logs any exception thrown by it, before re-throwing it.
-
-
Constructor Summary
Constructors Constructor Description LogExceptionRunnable(java.lang.Runnable task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()java.lang.StringtoString()
-