blob: dbca7da339075621ca876cd2e9cc91d5fecc0275 [file] [log] [blame]
package javax.mail;
/**
* Mock class providing the declarations required to compile the Cocoon code when
* the actual library is not present.
*
* @version CVS $Id:
*/
public class Store {
public void connect() throws MessagingException {
throw new NoSuchMethodError("This is a mock object");
}
public boolean isConnected() {
throw new NoSuchMethodError("This is a mock object");
}
public void close() throws MessagingException {
throw new NoSuchMethodError("This is a mock object");
}
public Folder getDefaultFolder() throws MessagingException {
throw new NoSuchMethodError("This is a mock object");
}
public Folder getFolder(String name) throws MessagingException {
throw new NoSuchMethodError("This is a mock object");
}
public void connect(String host, String user, String password) {
throw new NoSuchMethodError("This is a mock object");
}
public void connect(String host, int port, String user, String password) {
throw new NoSuchMethodError("This is a mock object");
}
}