log an error instead of throwing an exception when bounce() is encountered
[org.ibex.mail.git] / src / org / ibex / mail / Message.java
index 79744c8..9e6c817 100644 (file)
@@ -93,8 +93,10 @@ public class Message extends MIME.Part {
     public static Date parseDate(String s) { return null; } // FIXME!!!
    
     //  use null-sender for error messages (don't send errors to the null addr)
-    public Message bounce(String reason) { throw new RuntimeException("bounce not implemented"); }  // FIXME!
+    public Message bounce(String reason) {
+        Log.warn(Message.class, "bounce not implemented");
+    }  // FIXME!
+    
     public String summary() {
         return
             "          Subject: " + subject + "\n" +