View Javadoc

1   /*
2    * Copyright (c) 2008, the JUNG Project and the Regents of the University
3    * of California
4    * All rights reserved.
5    *
6    * This software is open-source under the BSD license; see either
7    * "license.txt" or
8    * http://jung.sourceforge.net/license.txt for a description.
9    */
10  
11  package edu.uci.ics.jung.io;
12  
13  /**
14   * Exception thrown when IO errors occur when reading/writing graphs.
15   *
16   * @author Nathan Mittler - nathan.mittler@gmail.com
17   */
18  public class GraphIOException extends Exception {
19  
20      private static final long serialVersionUID = 3773882099782535606L;
21  
22      /**
23       * Creates a new instance with no specified message or cause.
24       */
25      public GraphIOException() {
26          super();
27      }
28  
29      /**
30       * Creates a new instance with the specified message and cause.
31       */
32      public GraphIOException(String message, Throwable cause) {
33          super(message, cause);
34      }
35  
36      /**
37       * Creates a new instance with the specified message and no
38       * specified cause.
39       */
40      public GraphIOException(String message) {
41          super(message);
42      }
43  
44      /**
45       * Creats a new instance with the specified cause and no specified message.
46       */
47      public GraphIOException(Throwable cause) {
48          super(cause);
49      }
50  
51  }