1 // Copyright 2000-2005 the Contributors, as shown in the revision logs.
2 // Licensed under the Apache Public Source License 2.0 ("the License").
3 // You may not use this file except in compliance with the License.
9 public class MailException extends RuntimeException {
10 public MailException() { }
11 public MailException(String s) { super(s); }
12 public static class MailboxFull extends MailException { }
13 public static class MetadataNotSupported extends MailException { public MetadataNotSupported(String s) { super(s); } }
14 public static class Malformed extends MailException { public Malformed(String s) { super(s); } }
15 public static class RelayingDenied extends MailException { }
16 public static class IOException extends MailException { public IOException(java.io.IOException ioe) { initCause(ioe); } }