Author: ssanbern
Date: 2007-11-13 11:37:05 +0100 (Tue, 13 Nov 2007)
New Revision: 5904

Modified:
   
branches/2.15/site-spi/src/test/java/no/sesat/search/site/config/FileResourceLoader.java
Log:
change to ex.getMessage()

Modified: 
branches/2.15/site-spi/src/test/java/no/sesat/search/site/config/FileResourceLoader.java
===================================================================
--- 
branches/2.15/site-spi/src/test/java/no/sesat/search/site/config/FileResourceLoader.java
    2007-11-13 06:23:46 UTC (rev 5903)
+++ 
branches/2.15/site-spi/src/test/java/no/sesat/search/site/config/FileResourceLoader.java
    2007-11-13 10:37:05 UTC (rev 5904)
@@ -138,12 +138,14 @@
                     + (warFolder.exists() && warFolder.isDirectory() ? 
"/war/target/" : "/target/") + getResourceDirectory()
                     + getResource()).normalize();
 
-            return uri.toURL();
-        }catch (URISyntaxException ex) {
-            throw new ResourceLoadException(readResourceDebug(), ex);
+            return uri.toURL();    
+        }
+        catch (URISyntaxException ex) {
+            throw new ResourceLoadException(ex.getMessage(), ex);
         } catch (MalformedURLException ex) {
             throw new ResourceLoadException(ex.getMessage(), ex);
         }
+        
     }
 
     private String getResourceDirectory() {

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to