@Test public void testGracefulSkip() throws Exception { Assert.assertTrue(skipPolicy.shouldSkip(null, -1)); }
@Override public boolean shouldSkip(Throwable t, int skipCount) throws SkipLimitExceededException { boolean result = false; if (skipCount < 0 || isExpectedViolation(t)) { result = true; } return result; }
SkipUniqueKeyViolationPolicy implements SkipPolicy { @Override public boolean shouldSkip(Throwable t, int skipCount) throws SkipLimitExceededException { boolean result = false; if (skipCount < 0 || isExpectedViolation(t)) { result = true; } return result; } }
SkipUniqueKeyViolationPolicy implements SkipPolicy { @Override public boolean shouldSkip(Throwable t, int skipCount) throws SkipLimitExceededException { boolean result = false; if (skipCount < 0 || isExpectedViolation(t)) { result = true; } return result; }  }
SkipUniqueKeyViolationPolicy implements SkipPolicy { @Override public boolean shouldSkip(Throwable t, int skipCount) throws SkipLimitExceededException { boolean result = false; if (skipCount < 0 || isExpectedViolation(t)) { result = true; } return result; }  @Override boolean shouldSkip(Throwable t, int skipCount); }
SkipUniqueKeyViolationPolicy implements SkipPolicy { @Override public boolean shouldSkip(Throwable t, int skipCount) throws SkipLimitExceededException { boolean result = false; if (skipCount < 0 || isExpectedViolation(t)) { result = true; } return result; }  @Override boolean shouldSkip(Throwable t, int skipCount); static final String[] CONSTRAINT_NAMES; }