taylor      2004/09/15 15:51:02

  Modified:    components/portlet-factory/src/java/org/apache/jetspeed/factory
                        JetspeedPortletFactory.java
  Log:
  ClassCast on JSF needs to be captured
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.3       +5 -1      
jakarta-jetspeed-2/components/portlet-factory/src/java/org/apache/jetspeed/factory/JetspeedPortletFactory.java
  
  Index: JetspeedPortletFactory.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/portlet-factory/src/java/org/apache/jetspeed/factory/JetspeedPortletFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JetspeedPortletFactory.java       20 Aug 2004 15:26:54 -0000      1.2
  +++ JetspeedPortletFactory.java       15 Sep 2004 22:51:02 -0000      1.3
  @@ -103,6 +103,10 @@
           {
               portlet = 
(Portlet)Thread.currentThread().getContextClassLoader().loadClass(className).newInstance();
           }
  +        catch (ClassCastException cce)
  +        {
  +            cce.printStackTrace();
  +        }
           catch (ClassNotFoundException e)
           {
               synchronized(classLoaders)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to