Refine search
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void resume(Transaction arg0) throws IllegalStateException, InvalidTransactionException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "resume")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public boolean delistResource(XAResource arg0, int arg1) throws IllegalStateException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "delistResource")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "commit")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void begin() throws NotSupportedException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "begin")); }
/** * Throw exception if a transaction-related operation is attempted and * no transaction is active. */ private void assertTransactionOperation() { if ((_flags & FLAG_ACTIVE) == 0) throw new InvalidStateException(_loc.get("not-active")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public boolean enlistResource(XAResource arg0) throws IllegalStateException, RollbackException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "enlistResource")); } }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void resume(Transaction arg0) throws IllegalStateException, InvalidTransactionException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "resume")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void setTransactionTimeout(int arg0) throws SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "setTransactionTimeout")); }
public synchronized void begin() { if (_active) throw new InvalidStateException(_loc.get("active")); _active = true; }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "commit")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public Transaction suspend() throws SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "suspend")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void setTransactionTimeout(int arg0) throws SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "setTransactionTimeout")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "commit")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void resume(Transaction arg0) throws IllegalStateException, InvalidTransactionException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "resume")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public void begin() throws NotSupportedException, SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "begin")); }
/** * Unimplemented, WAS does not provide this level of control. Throws an * IllegalStateException */ public Transaction suspend() throws SystemException { throw new InvalidStateException(_loc.get("was-unsupported-op", "suspend")); }
protected SchemaGroup assertSchemaGroup() { SchemaGroup local = getSchemaGroup(); if (local == null) throw new InvalidStateException(_loc.get("tool-norepos")); return local; }
/** * Return the query expressions for one candidate type, or die if none. */ private QueryExpressions assertQueryExpression() { QueryExpressions[] exp = getQueryExpressions(); if (exp == null || exp.length < 1) throw new InvalidStateException(_loc.get("no-expressions")); return exp[0]; }
public void setRestoreState(int val) { assertOpen(); if ((_flags & FLAG_ACTIVE) != 0) throw new InvalidStateException(_loc.get("trans-active", "Restore")); _restoreState = val; }
protected SchemaGroup assertSchemaGroup() { SchemaGroup local = getSchemaGroup(); if (local == null) throw new InvalidStateException(_loc.get("tool-norepos")); return local; }