"jiwils" wrote : 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?
|
No, you can change this
anonymous wrote :
| Checking File.canRead() and File.canWrite() might make sense as a sanity check here as well.
|
Go ahead
anonymous wrote :
| If such a reason exists, would an additional configuration property named createLocation that controlled creation of the "root" cache loader location make sense? .
Okay, under the CacheLoaderConfig attribute would be okay. Go ahead and make those changes, thanks,
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877932#3877932
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877932
|