Package com.nearinfinity.honeycomb.exceptions

Examples of com.nearinfinity.honeycomb.exceptions.UnknownSchemaVersionException


        final int writerSchemaVersion = decodeAvroSchemaVersion(versionByte);

        if( writerSchemaVersion != supportedVersion ) {
            logger.warn(format("Cannot process unknown schema version %d, expected: %d ", writerSchemaVersion, supportedVersion));

            throw new UnknownSchemaVersionException(writerSchemaVersion, supportedVersion);
        }

        return true;
    }
View Full Code Here

TOP

Related Classes of com.nearinfinity.honeycomb.exceptions.UnknownSchemaVersionException

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.