public static final class RecoveryPolicy.Default extends java.lang.Object implements RecoveryPolicy
RecoveryPolicy.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.
|
public Default(boolean throwRuntimeException,
boolean removeBrokenContent)
public boolean shouldThrowRuntimeException()
RecoveryPolicyshouldThrowRuntimeException in interface RecoveryPolicypublic boolean shouldRemoveBrokenContent()
RecoveryPolicyshouldRemoveBrokenContent in interface RecoveryPolicy