Code example for ObjectRetrievalFailureException

0
                    className, "Could not load class", e); 
        } 
        try { 
            m_persistenceSelectorStrategy = (PersistenceSelectorStrategy) cinst.newInstance(); 
        } catch (InstantiationException e) { 
            throw new ObjectRetrievalFailureException(PersistenceSelectorStrategy.class, 
                    className, "Could not instantiate", e); 
        } catch (IllegalAccessException e) { 
            throw new ObjectRetrievalFailureException(PersistenceSelectorStrategy.class, 
                    className, "Could not instantiate", e); 
        } 
    } 
 
    private void instantiateStorageStrategy(String className) { 
        Class<?> cinst; 
        try { 
            cinst = Class.forName(className); 
        } catch (ClassNotFoundException e) { 
            throw new ObjectRetrievalFailureException(StorageStrategy.class, 
                    className, "Could not load class", e);