Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.StringTruncationException


    public void reportTruncate(String original, String truncated)
    {
        switch(truncateHandling)
        {
            case WARN:
                warnClient(new StringTruncationException(original, truncated));
                break;
            case ERROR:
                throw new StringTruncationException(original, truncated);
            case IGNORE:
                // ignores, does nothing
                break;
            default:
                throw new AssertionError(truncateHandling);
View Full Code Here

TOP

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

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.