i changed the exception-handling of the new producers and localizers to use the multe...
[mir.git] / source / mircoders / producer / TopicStartPageProducerFactory.java
index af9e4eb..aee7267 100755 (executable)
@@ -31,7 +31,7 @@ public class TopicStartPageProducerFactory implements ProducerFactory {
   }
 
 
-  public mir.producer.Producer makeProducer(String aVerb) throws ProducerException {
+  public mir.producer.Producer makeProducer(String aVerb) throws ProducerFailure {
     CompositeProducer result = new CompositeProducer();
     Map values = new HashMap();
 
@@ -78,7 +78,7 @@ public class TopicStartPageProducerFactory implements ProducerFactory {
 
     }
     catch (Throwable e) {
-      throw new ProducerException(e);
+      throw new ProducerFailure("Creating TopicStartPageProducer failed",e);
     }
   };