Package org.lilyproject.repository.api

Examples of org.lilyproject.repository.api.IOTypeException


    private RuntimeException handleAvroRemoteException(AvroRemoteException e) throws TypeException {
        // 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 IOTypeException(e.getCause());
        } else {
            throw converter.convert(e);
        }
    }
View Full Code Here


        }
    }

    private RuntimeException handleUndeclaredTypeThrowable(UndeclaredThrowableException e) throws TypeException {
        if (e.getCause() instanceof IOException) {
            throw new IOTypeException(e.getCause());
        } else {
            throw e;
        }
    }
View Full Code Here

TOP

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

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.