Package org.jivesoftware.smack.util
Class Async.ThrowingRunnable
java.lang.Object
org.jivesoftware.smack.util.Async.ThrowingRunnable
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Async
Like
Runnable
, but allows the runOrThrow()
method to throw an exception.
If the exception is an instance of RuntimeException
, then it will be re-thrown, otherwise it will be
simply logged.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOGGER
-
-
Constructor Details
-
ThrowingRunnable
public ThrowingRunnable()
-
-
Method Details