[jboss-cvs] jboss-seam/src/main/org/jboss/seam/exceptions ...

Gavin King gavin.king at jboss.com
Thu Jun 21 00:07:15 EDT 2007


  User: gavin   
  Date: 07/06/21 00:07:15

  Modified:    src/main/org/jboss/seam/exceptions  Exceptions.java
  Log:
  yay, seam finally not dependent upon JSF jar :)
  
  Revision  Changes    Path
  1.4       +2 -2      jboss-seam/src/main/org/jboss/seam/exceptions/Exceptions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Exceptions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/Exceptions.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Exceptions.java	20 Jun 2007 17:45:55 -0000	1.3
  +++ Exceptions.java	21 Jun 2007 04:07:15 -0000	1.4
  @@ -21,12 +21,12 @@
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.core.Events;
   import org.jboss.seam.core.Init;
  +import org.jboss.seam.core.ResourceLoader;
   import org.jboss.seam.log.LogProvider;
   import org.jboss.seam.log.Logging;
   import org.jboss.seam.navigation.Pages;
   import org.jboss.seam.util.EJB;
   import org.jboss.seam.util.Reflections;
  -import org.jboss.seam.util.Resources;
   import org.jboss.seam.util.Strings;
   import org.jboss.seam.util.XML;
   
  @@ -112,7 +112,7 @@
      private ExceptionHandler parse(String fileName) throws DocumentException, ClassNotFoundException
      {
         ExceptionHandler anyhandler = null;
  -      InputStream stream = Resources.getResourceAsStream(fileName);
  +      InputStream stream = ResourceLoader.instance().getResourceAsStream(fileName);
         if (stream!=null)
         {
            log.debug("reading exception mappings from " + fileName);
  
  
  



More information about the jboss-cvs-commits mailing list