Package edu.indiana.dlib.metsnav.config

Examples of edu.indiana.dlib.metsnav.config.ConfigurationException


        Object obj = null;
        try {
            Class<?> cls = Class.forName(daoType);
            obj = cls.newInstance();
        } catch (Exception ex) {
            throw new ConfigurationException("Wrong daoType " + daoType, ex);
        }
        if (!(obj instanceof MetsObjectDAO)) {
            throw new ConfigurationException("Wrong daoType " + daoType);
        }
        return (MetsObjectDAO)obj;
    }
View Full Code Here

TOP

Related Classes of edu.indiana.dlib.metsnav.config.ConfigurationException

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.