Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.ZeroDateTimeException


              (value.getInt32() == 0)) ||
             ((type.getType().typeClass() == MDateAndTime.DATETIME) &&
              (value.getInt64() == 0)))) {
            switch (zeroDateTimeBehavior) {
            case EXCEPTION:
                throw new ZeroDateTimeException();
            case ROUND:
                value = (type.getType().typeClass() == MDateAndTime.DATETIME)
                        ? ROUND_ZERO_DATETIME_SOURCE
                        : ROUND_ZERO_DATE_SOURCE;
                break;
View Full Code Here

TOP

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

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.