View Javadoc

1   /*
2    *******************************************************************************
3    * Copyright (c) 2005 Chris Rose and AIMedia
4    * All rights reserved. FoodDatasourceException and the accompanying materials
5    * are made available under the terms of the Common Public License v1.0
6    * which accompanies this distribution, and is available at
7    * http://www.eclipse.org/legal/cpl-v10.html
8    * 
9    * Contributors:
10   *     Chris Rose
11   *******************************************************************************/
12  package ca.spaz.cron.datasource;
13  
14  /***
15   * An exception for food data sources to throw.  Intended to wrap causing
16   * exceptions.
17   *  
18   * @author Chris Rose
19   */
20  public class FoodDatasourceException extends RuntimeException {
21  
22     /***
23      * 
24      */
25     public FoodDatasourceException() {
26        super();
27     }
28  
29     /***
30      * @param message
31      */
32     public FoodDatasourceException(String message) {
33        super(message);
34     }
35  
36     /***
37      * @param message
38      * @param cause
39      */
40     public FoodDatasourceException(String message, Throwable cause) {
41        super(message, cause);
42     }
43  
44     /***
45      * @param cause
46      */
47     public FoodDatasourceException(Throwable cause) {
48        super(cause);
49     }
50  
51  }