i changed the exception-handling of the new producers and localizers to use the multe...
[mir.git] / source / mircoders / producer / StartPageProducerFactory.java
index d474338..6bea900 100755 (executable)
@@ -28,7 +28,7 @@ public class StartPageProducerFactory implements ProducerFactory {
   }
 
 
-  public mir.producer.Producer makeProducer(String aVerb) throws ProducerException {
+  public mir.producer.Producer makeProducer(String aVerb) throws ProducerFailure {
 
     try {
       ModuleContent contentModule = new ModuleContent(DatabaseContent.getInstance());
@@ -45,7 +45,7 @@ public class StartPageProducerFactory implements ProducerFactory {
                     breakingModule.getBreakingNews());
     }
     catch (Throwable e) {
-      throw new ProducerException(e);
+      throw new ProducerFailure("Creating StartPageProducer failed",e);
     }
   };