Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/gersonworks/xml/util/XMLPropertiesException.java


1   /*
2    * XMLProperties library - A utility class which reads property lists from
3    * an XML document
4    * Copyright (C) 21 January 2004 Gerson Galang
5    * This library is free software; you can redistribute it and/or
6    * modify it under the terms of the GNU Lesser General Public
7    * License as published by the Free Software Foundation; either
8    * version 2.1 of the License, or (at your option) any later version.
9    *
10   * This library 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 GNU
13   * Lesser General Public License for more details.
14   *
15   * You should have received a copy of the GNU Lesser General Public
16   * License along with this library; if not, write to the Free Software
17   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   * For any questions or suggestions, you can email me at :
19   * Email: gerson721@gawab.com
20  */
21  
22  package com.gersonworks.xml.util;
23  
24  /**
25   * Thrown to indicate that a runtime error has occured if the
26   * XMLProperties.getPropertyValue(key, index) method is used.
27   *
28   * <p>Copyright: Copyright (c) 21 January 2004</p>
29   * @author Gerson Galang
30   * @version 1.0, 17 January 2004
31   */
32  public class XMLPropertiesException extends RuntimeException {
33  
34    /**
35     * Constructs an XMLProperties exception with no detailed message.
36     */
37    public XMLPropertiesException() {
38      super();
39    }
40  
41    /**
42     * Constructs an XMLProperties exception with detailed message.
43     * @param msg the detailed message.
44     */
45    public XMLPropertiesException(String msg) {
46      super(msg);
47    }
48  }