108109110111112113114
@Override protected void checkActive() { if ( sConn.haveUsedInTransaction() && ! isInTransaction() ) throw new JenaTransactionException("Not in a transaction ("+getLocation()+")") ; }
115116117118119120121
@Override protected void checkNotActive() { if ( sConn.haveUsedInTransaction() && isInTransaction() ) throw new JenaTransactionException("Currently in a transaction ("+getLocation()+")") ; }
111112113114115116117
@Override protected void checkActive() { checkNotClosed() ; if ( sConn.haveUsedInTransaction() && ! isInTransaction() ) throw new JenaTransactionException("Not in a transaction ("+getLocation()+")") ; }
119120121122123124125
@Override protected void checkNotActive() { checkNotClosed() ; if ( sConn.haveUsedInTransaction() && isInTransaction() ) throw new JenaTransactionException("Currently in a transaction ("+getLocation()+")") ; }
125126127128129130131
} protected void checkNotClosed() { if ( isClosed ) throw new JenaTransactionException("Already closed") ; }
9596979899100101
102103104105106107108
112113114115116117118
120121122123124125126
126127128129130131132