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
16 /**
17 * Bad command exception implementation.
18 *
19 * @author Daniel Sendula
20 */
21 public class BADCommandException extends IMAPCommandException {
22
23 /**
24 * Constructor
25 */
26 public BADCommandException() {
27 super();
28 }
29
30 /**
31 * Constructor
32 * @param msg message
33 */
34 public BADCommandException(String msg) {
35 super(msg);
36 }
37
38 /**
39 * Constructor
40 * @param msg message
41 * @param e cause
42 */
43 public BADCommandException(String msg, Exception e) {
44 super(msg, e);
45 }
46
47 /**
48 * Constructor
49 * @param e cause
50 */
51 public BADCommandException(Exception e) {
52 super(e);
53 }
54
55 }