| PersistenceException |

    1   /*
    2    *  PersistenceException.java
    3    *
    4    *  Copyright (c) 1998-2001, The University of Sheffield.
    5    *
    6    *  This file is part of GATE (see http://gate.ac.uk/), and is free
    7    *  software, licenced under the GNU Library General Public License,
    8    *  Version 2, June 1991 (in the distribution as file licence.html,
    9    *  and also available at http://gate.ac.uk/gate/licence.html).
    10   *
    11   *  Hamish Cunningham, 19/Jan/2001
    12   *
    13   *  $Id: PersistenceException.java,v 1.1 2001/01/22 19:07:25 hamish Exp $
    14   */
    15
    16  package gate.persist;
    17
    18  import gate.util.*;
    19
    20  /** This exception indicates failure during persistence operations.
    21    */
    22  public class PersistenceException extends GateException {
    23    /** Debug flag */
    24    private static final boolean DEBUG = false;
    25
    26    /** Default construction */
    27    public PersistenceException() { super(); }
    28
    29    /** Construction from string */
    30    public PersistenceException(String s) { super(s); }
    31
    32    /** Construction from exception */
    33    public PersistenceException(Exception e) { super(e.toString()); }
    34
    35  } // PersistenceException
    36

| PersistenceException |