View Javadoc

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.smtp.exception;
14  
15  import org.abstracthorizon.mercury.common.command.CommandException;
16  
17  
18  /**
19   * Exceptions thrown by IMAP commands.
20   *
21   * @author Daniel Sendula
22   */
23  public class SMTPCommandException extends CommandException {
24  
25      /**
26       * Constructor
27       */
28      public SMTPCommandException() {
29          super();
30      }
31  
32      /**
33       * Constructor
34       * @param msg message
35       */
36      public SMTPCommandException(String msg) {
37          super(msg);
38      }
39  
40      /**
41       * Constructor
42       * @param msg message
43       * @param e cause
44       */
45      public SMTPCommandException(String msg, Exception e) {
46          super(msg, e);
47      }
48  
49      /**
50       * Constructor
51       * @param e cause
52       */
53      public SMTPCommandException(Exception e) {
54          super(e);
55      }
56  
57  }