Package org.lilyproject.repository.api

Examples of org.lilyproject.repository.api.IORecordException


        }
    }

    private RuntimeException handleUndeclaredRecordThrowable(UndeclaredThrowableException e) throws RecordException {
        if (e.getCause() instanceof IOException) {
            throw new IORecordException(e.getCause());
        } else {
            throw e;
        }
    }
View Full Code Here


    private RuntimeException handleAvroRemoteException(AvroRemoteException e) throws RecordException {
        // AvroRemoteException's are exceptions which are not declared in the avro protocol and
        // which are not RuntimeException's.
        if (e.getCause() instanceof IOException) {
            throw new IORecordException(e.getCause());
        } else {
            throw converter.convert(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.lilyproject.repository.api.IORecordException

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.