public static final class SimpleRecoveryPolicy.Default extends SimpleRecoveryPolicy
SimpleRecoveryPolicy.Default| Constructor and Description |
|---|
Default(boolean throwRuntimeException,
boolean removeBrokenContent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRemoveBrokenContent()
If the content should be automatically removed when it cannot be read.
|
boolean |
shouldThrowRuntimeException()
If the content cannot be read (or written) defines if a runtime exception should be thrown (
i.e.
|
handleBrokenContentpublic Default(boolean throwRuntimeException,
boolean removeBrokenContent)
public boolean shouldThrowRuntimeException()
SimpleRecoveryPolicypublic boolean shouldRemoveBrokenContent()
SimpleRecoveryPolicy