View Javadoc

1   /**
2    * Copyright 2005-2006 the original author or authors.
3    *
4    * Licensed under the Gnu General Pubic License, Version 2.0 (the
5    * "License"); you may not use this file except in compliance with
6    * the License. You may obtain a copy of the License at
7    *
8    *      http://www.opensource.org/licenses/gpl-license.php
9    *
10   * This program is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13   * See the Gnu General Public License for more details.
14   */
15  package org.figure8.join.services.notification;
16  
17  /**
18   * Base class for notification related exceptions.
19   * @author <a href="mailto:laurent.broudoux@free.fr">Laurent Broudoux</a>
20   * @version $Revision: 1.1 $
21   */
22  public class NotificationException extends Exception{
23  
24     // Constructors -------------------------------------------------------------
25  
26     /**
27      * Creates a new instance of NotificationException.
28      * @param msg Message for this exception
29      */
30     public NotificationException(String msg){
31        super(msg);
32     }
33  
34     /**
35      * Creates a new instance of NotificationException.
36      * @param cause Root throwable for this exception
37      */
38     public NotificationException(Throwable cause){
39        super(cause);
40     }
41  
42     /**
43      * Creates a new instance of NotificationException.
44      * @param msg Message for this exception
45      * @param cause Root throwable for this exception
46      */
47     public NotificationException(String msg, Throwable cause){
48        super(msg, cause);
49     }
50  }