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