i changed the exception-handling of the new producers and localizers to use the multe...
[mir.git] / source / mircoders / localizer / basic / MirBasicProducerToolLocalizer.java
index 8a5eb8c..406f031 100755 (executable)
@@ -56,7 +56,7 @@ public class MirBasicProducerToolLocalizer implements MirProducerToolLocalizer {
     aValueSet.put("parentlist", parentList);
   };
 
-  public PrintWriter openWriter(String anIdentifier) throws MirLocalizerException {
+  public PrintWriter openWriter(String anIdentifier) throws MirLocalizerFailure {
     File file;
     File dir;
 
@@ -74,7 +74,7 @@ public class MirBasicProducerToolLocalizer implements MirProducerToolLocalizer {
       );
     }
     catch (Throwable t) {
-      throw new MirLocalizerException(t);
+      throw new MirLocalizerFailure("Failure while opening a PrintWriter",t);
     }
   };