001/*
002 * Copyright 2001 (C) MetaStuff, Ltd. All Rights Reserved.
003 * 
004 * This software is open source. 
005 * See the bottom of this file for the licence.
006 * 
007 * $Id: InvalidSchemaException.java,v 1.1 2001/08/30 19:05:43 jstrachan Exp $
008 */
009
010package org.dom4j.datatype;
011
012/** <p><code>InvalidSchemaException</code> is thrown when an invalid
013  * XML Schema document is used</p>
014  *
015  * @version $Revision: 1.1 $
016  */
017public class InvalidSchemaException extends IllegalArgumentException {
018
019    public InvalidSchemaException(String reason) {
020        super(reason);
021    }
022}
023
024
025
026
027/*
028 * Redistribution and use of this software and associated documentation
029 * ("Software"), with or without modification, are permitted provided
030 * that the following conditions are met:
031 *
032 * 1. Redistributions of source code must retain copyright
033 *    statements and notices.  Redistributions must also contain a
034 *    copy of this document.
035 *
036 * 2. Redistributions in binary form must reproduce the
037 *    above copyright notice, this list of conditions and the
038 *    following disclaimer in the documentation and/or other
039 *    materials provided with the distribution.
040 *
041 * 3. The name "DOM4J" must not be used to endorse or promote
042 *    products derived from this Software without prior written
043 *    permission of MetaStuff, Ltd.  For written permission,
044 *    please contact dom4j-info@metastuff.com.
045 *
046 * 4. Products derived from this Software may not be called "DOM4J"
047 *    nor may "DOM4J" appear in their names without prior written
048 *    permission of MetaStuff, Ltd. DOM4J is a registered
049 *    trademark of MetaStuff, Ltd.
050 *
051 * 5. Due credit should be given to the DOM4J Project
052 *    (http://dom4j.org/).
053 *
054 * THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS
055 * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
056 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
057 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
058 * METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
059 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
060 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
061 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
062 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
063 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
064 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
065 * OF THE POSSIBILITY OF SUCH DAMAGE.
066 *
067 * Copyright 2001 (C) MetaStuff, Ltd. All Rights Reserved.
068 *
069 * $Id: InvalidSchemaException.java,v 1.1 2001/08/30 19:05:43 jstrachan Exp $
070 */