Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.TransactionReadOnlyException


        case NEW:
        case NEW_WRITE:
            throw new TransactionInProgressException();
        case WRITE:
            if (readOnly)
                throw new TransactionReadOnlyException();
            beforeUpdate();
        break;
        case IMPLICIT_COMMIT:
            throw new IllegalArgumentException(transactionMode + " must be handled externally");
        }
View Full Code Here


                localTransaction = true;
                break;
            case WRITE:
            case NEW_WRITE:
                if (transactionDefaultReadOnly)
                    throw new TransactionReadOnlyException();
                transaction = new ServerTransaction(this, false, ServerTransaction.PeriodicallyCommit.OFF);
                transaction.beforeUpdate();
                localTransaction = true;
                break;
            }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.error.TransactionReadOnlyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.