Created
July 22, 2013 17:31
-
-
Save okram/6055829 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| catch (final Exception e) { | |
| if (this.graph instanceof TransactionalGraph) { | |
| ((TransactionalGraph) this.graph).rollback(); | |
| context.getCounter(Counters.FAILED_TRANSACTIONS).increment(1l); | |
| } | |
| throw new IOException(e.getMessage(), e); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment