@Override
    public void afterFailedCommit(TransactionEvent event) {
      checkEvent(event);
    }
add a listener and writer that will throw an exception when invoked if events are for internal
regions
geode-core/src/distributedTest/java/org/apache/geode/pdx/PdxSerializableDUnitTest.java