luetzkendorf    2005/02/21 00:58:51

  Modified:    src/share/org/apache/slide/event EventDispatcher.java
  Log:
  improved log messages (includes the exception now)
  
  Revision  Changes    Path
  1.6       +6 -6      
jakarta-slide/src/share/org/apache/slide/event/EventDispatcher.java
  
  Index: EventDispatcher.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/event/EventDispatcher.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- EventDispatcher.java      28 Jul 2004 09:36:24 -0000      1.5
  +++ EventDispatcher.java      21 Feb 2005 08:58:51 -0000      1.6
  @@ -103,7 +103,7 @@
               } catch (ClassCastException e) {
                   throw new ConfigurationException("Event listener 
'"+classname+"' is not of type EventListener", config);
               } catch (Exception e) {
  -                throw new ConfigurationException("Event listener 
'"+classname+"' could not be loaded", config);
  +                throw new ConfigurationException("Event listener 
'"+classname+"' could not be loaded (" + e + ")", config);
               }
           }
           Enumeration enableConfigs = config.getConfigurations("event");
  @@ -124,7 +124,7 @@
               } catch (NoSuchFieldException e) {
                   throw new ConfigurationException("Event '"+classname+"' does 
not provide the required static member 'methods'", config);
               } catch (Exception e) {
  -                throw new ConfigurationException("Event '"+classname+"' 
could not be loaded", config);
  +                throw new ConfigurationException("Event '"+classname+"' 
could not be loaded (" + e + ")", config);
               }
           }
       }
  
  
  

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

Reply via email to