print out tokens in IMAP
[org.ibex.mail.git] / src / org / ibex / mail / MailException.java
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.
4
5 package org.ibex.mail;
6 import java.net.*;
7 import java.io.*;
8
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); } }
17 }