public class DelegatingErrorHandlingRunnable
extends java.lang.Object
implements java.lang.Runnable
ErrorHandler
to handle it.Constructor and Description |
---|
DelegatingErrorHandlingRunnable(java.lang.Runnable delegate,
ErrorHandler errorHandler)
Create a new DelegatingErrorHandlingRunnable.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
java.lang.String |
toString() |
public DelegatingErrorHandlingRunnable(java.lang.Runnable delegate, ErrorHandler errorHandler)
delegate
- the Runnable implementation to delegate toerrorHandler
- the ErrorHandler for handling any exceptions