public class OperationCanceledManager
extends java.lang.Object
Constructor and Description |
---|
OperationCanceledManager() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Error |
asWrappingOperationCanceledException(java.lang.Throwable throwable) |
void |
checkCanceled(CancelIndicator indicator) |
protected java.lang.RuntimeException |
getPlatformOperationCanceledException(java.lang.Throwable t) |
protected java.lang.RuntimeException |
getPlatformSpecificOperationCanceledException() |
boolean |
isOperationCanceledException(java.lang.Throwable t) |
void |
propagateAsErrorIfCancelException(java.lang.Throwable t)
Rethrows OperationCanceledErrors and wraps platform specific OperationCanceledExceptions.
|
void |
propagateIfCancelException(java.lang.Throwable t)
Rethrows platform specific OperationCanceledExceptions and unwraps OperationCanceledErrors.
|
void |
throwOperationCanceledException() |
protected java.lang.RuntimeException getPlatformOperationCanceledException(java.lang.Throwable t)
public boolean isOperationCanceledException(java.lang.Throwable t)
public void propagateAsErrorIfCancelException(java.lang.Throwable t)
public void propagateIfCancelException(java.lang.Throwable t)
protected java.lang.Error asWrappingOperationCanceledException(java.lang.Throwable throwable)
public void throwOperationCanceledException()
protected java.lang.RuntimeException getPlatformSpecificOperationCanceledException()
public void checkCanceled(CancelIndicator indicator)