Package org.fcrepo.server.errors

Examples of org.fcrepo.server.errors.StreamIOException


                new BufferedReader(new InputStreamReader(in, encoding));
        try {
            obj.setLabel(reader.readLine());
            obj.setPid(reader.readLine());
        } catch (IOException e) {
            throw new StreamIOException("Error reading stream", e);
        } finally {
            try {
                reader.close();
            } catch (IOException e) {
                throw new StreamIOException("Error closing reader", e);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.errors.StreamIOException

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.