View Javadoc

1   /*
2    * Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved.
3    * 
4    * This software is open source. 
5    * See the bottom of this file for the licence.
6    * 
7    * $Id: InvalidSchemaException.java,v 1.4 2004/06/25 08:03:34 maartenc Exp $
8    */
9   
10  package org.dom4j.datatype;
11  
12  /*** <p><code>InvalidSchemaException</code> is thrown when an invalid
13    * XML Schema document is used</p>
14    *
15    * @version $Revision: 1.4 $
16    */
17  public class InvalidSchemaException extends IllegalArgumentException {
18  
19      public InvalidSchemaException(String reason) {
20          super(reason);
21      }
22  }
23  
24  
25  
26  
27  /*
28   * Redistribution and use of this software and associated documentation
29   * ("Software"), with or without modification, are permitted provided
30   * that the following conditions are met:
31   *
32   * 1. Redistributions of source code must retain copyright
33   *    statements and notices.  Redistributions must also contain a
34   *    copy of this document.
35   *
36   * 2. Redistributions in binary form must reproduce the
37   *    above copyright notice, this list of conditions and the
38   *    following disclaimer in the documentation and/or other
39   *    materials provided with the distribution.
40   *
41   * 3. The name "DOM4J" must not be used to endorse or promote
42   *    products derived from this Software without prior written
43   *    permission of MetaStuff, Ltd.  For written permission,
44   *    please contact dom4j-info@metastuff.com.
45   *
46   * 4. Products derived from this Software may not be called "DOM4J"
47   *    nor may "DOM4J" appear in their names without prior written
48   *    permission of MetaStuff, Ltd. DOM4J is a registered
49   *    trademark of MetaStuff, Ltd.
50   *
51   * 5. Due credit should be given to the DOM4J Project - 
52   *    http://www.dom4j.org
53   *
54   * THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS
55   * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
56   * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
57   * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
58   * METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
59   * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
60   * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
61   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
62   * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
63   * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
64   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
65   * OF THE POSSIBILITY OF SUCH DAMAGE.
66   *
67   * Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved.
68   *
69   * $Id: InvalidSchemaException.java,v 1.4 2004/06/25 08:03:34 maartenc Exp $
70   */