1 /*
2 * Copyright (c) 2004-2007 Creative Sphere Limited.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *
10 * Creative Sphere - initial API and implementation
11 *
12 */
13 package org.abstracthorizon.mercury.imap;
14
15 import org.abstracthorizon.mercury.common.command.CommandException;
16
17 /**
18 * Exceptions thrown by IMAP commands.
19 *
20 * @author Daniel Sendula
21 */
22 public class IMAPCommandException extends CommandException {
23
24 /**
25 * Constructor
26 */
27 public IMAPCommandException() {
28 super();
29 }
30
31 /**
32 * Constructor
33 * @param msg message
34 */
35 public IMAPCommandException(String msg) {
36 super(msg);
37 }
38
39 /**
40 * Constructor
41 * @param msg message
42 * @param e cause
43 */
44 public IMAPCommandException(String msg, Exception e) {
45 super(msg, e);
46 }
47
48 /**
49 * Constructor
50 * @param e cause
51 */
52 public IMAPCommandException(Exception e) {
53 super(e);
54 }
55 }