Package mungbean.protocol.command

Examples of mungbean.protocol.command.LastError


    private abstract class ErrorCheckingDBConversation extends DBConversation<T> {
        @Override
        public final T execute(Connection connection) {
            T value = doExecuteWithErrorChecking(connection);
            Map<String, Object> message = executeCommand(new LastError(), connection);
            if (message.get("err") != null) {
                throw MongoException.forResponse(message);
            }
            return value;
        }
View Full Code Here

TOP

Related Classes of mungbean.protocol.command.LastError

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.