View Javadoc

1   /* Copyright (C) 2003 Internet Archive.
2    *
3    * This file is part of the Heritrix web crawler (crawler.archive.org).
4    *
5    * Heritrix is free software; you can redistribute it and/or modify
6    * it under the terms of the GNU Lesser Public License as published by
7    * the Free Software Foundation; either version 2.1 of the License, or
8    * any later version.
9    *
10   * Heritrix 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.  See the
13   * GNU Lesser Public License for more details.
14   *
15   * You should have received a copy of the GNU Lesser Public License
16   * along with Heritrix; if not, write to the Free Software
17   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   *
19   * Created on Jul 29, 2003
20   *
21   */
22  package org.archive.crawler.framework.exceptions;
23  
24  /*** InitializationExceptions should be thrown when there is a problem with
25   *   the crawl's initialization, such as file creation problems, etc.  In the event
26   *   that a more specific exception can be thrown (such as a ConfigurationException
27   *   in the event that there is a configuration-specific problem) it should be.
28   *
29   * @author Parker Thompson
30   *
31   */
32  public class InitializationException extends Exception {
33  
34      private static final long serialVersionUID = -3482635476140606185L;
35  
36      public InitializationException() {
37          super();
38      }
39  
40      /***
41       * @param message
42       */
43      public InitializationException(String message) {
44          super(message);
45      }
46  
47      /***
48       * @param message
49       * @param cause
50       */
51      public InitializationException(String message, Throwable cause) {
52          super(message, cause);
53      }
54  
55      /***
56       * @param cause
57       */
58      public InitializationException(Throwable cause) {
59          super(cause);
60      }
61  
62  }