From: jiwils <nu...@jb...> - 2005-05-17 04:48:31
|
From FileCacheLoader.java: public void create() throws Exception { | if(!root.exists()) | throw new FileNotFoundException(root.toString()); | } Is there a reason that the FileCacheLoader implementation of create throws an exception if the "root" cache loader location is not found rather than just create it? Checking File.canRead() and File.canWrite() might make sense as a sanity check here as well. If such a reason exists, would an additional configuration property named createLocation that controlled creation of the "root" cache loader location make sense? I would be happy to provide a patch via JIRA that provides this behavior. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877931#3877931 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877931 |