1 6 7 package com.hp.hpl.jena.graph.impl; 8 9 12 public class SimpleTransactionHandler extends TransactionHandlerBase 13 { 14 public SimpleTransactionHandler() 15 { super(); } 16 17 public boolean transactionsSupported() 18 { return false; } 19 20 public void begin() 21 { notSupported(); } 22 23 public void abort() 24 { notSupported(); } 25 26 public void commit() 27 { notSupported(); } 28 29 private void notSupported() 30 { throw new UnsupportedOperationException ( "oops" ); } 31 } 32 33 34 | Popular Tags |