001: /*
002: * The Apache Software License, Version 1.1
003: *
004: *
005: * Copyright (c) 1999,2001 The Apache Software Foundation. All rights
006: * reserved.
007: *
008: * Redistribution and use in source and binary forms, with or without
009: * modification, are permitted provided that the following conditions
010: * are met:
011: *
012: * 1. Redistributions of source code must retain the above copyright
013: * notice, this list of conditions and the following disclaimer.
014: *
015: * 2. Redistributions in binary form must reproduce the above copyright
016: * notice, this list of conditions and the following disclaimer in
017: * the documentation and/or other materials provided with the
018: * distribution.
019: *
020: * 3. The end-user documentation included with the redistribution,
021: * if any, must include the following acknowledgment:
022: * "This product includes software developed by the
023: * Apache Software Foundation (http://www.apache.org/)."
024: * Alternately, this acknowledgment may appear in the software itself,
025: * if and wherever such third-party acknowledgments normally appear.
026: *
027: * 4. The names "Xerces" and "Apache Software Foundation" must
028: * not be used to endorse or promote products derived from this
029: * software without prior written permission. For written
030: * permission, please contact apache@apache.org.
031: *
032: * 5. Products derived from this software may not be called "Apache",
033: * nor may "Apache" appear in their name, without prior written
034: * permission of the Apache Software Foundation.
035: *
036: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
037: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
038: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
039: * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
040: * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
041: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
042: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
043: * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
044: * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
045: * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
046: * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
047: * SUCH DAMAGE.
048: * ====================================================================
049: *
050: * This software consists of voluntary contributions made by many
051: * individuals on behalf of the Apache Software Foundation and was
052: * originally based on software copyright (c) 1999, iClick Inc.,
053: * http://www.apache.org. For more information on the Apache Software
054: * Foundation, please see <http://www.apache.org/>.
055: */
056:
057: /* Modified by Jeremy J. Carroll HP
058: *
059: * Was originally in org/apache/xerces/utils/URI.java in Xerces 1.4.4
060: *
061: * Modifications are:
062: * (c) Copyright 2001-2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
063: * All rights reserved.
064: *
065: * Redistribution and use in source and binary forms, with or without
066: * modification, are permitted provided that the following conditions
067: * are met:
068: * 1. Redistributions of source code must retain the above copyright
069: * notice, this list of conditions and the following disclaimer.
070: * 2. Redistributions in binary form must reproduce the above copyright
071: * notice, this list of conditions and the following disclaimer in the
072: * documentation and/or other materials provided with the distribution.
073: * 3. The name of the author may not be used to endorse or promote products
074: * derived from this software without specific prior written permission.
075: *
076: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
077: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
078: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
079: * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
080: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
081: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
082: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
083: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
084: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
085: * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
086: *
087: */
088: package com.hp.hpl.jena.rdf.arp;
089:
090: import java.io.IOException;
091:
092: import org.xml.sax.SAXParseException;
093:
094: /*******************************************************************
095: * MalformedURIExceptions are thrown in the process of building a URI
096: * or setting fields on a URI when an operation would result in an
097: * invalid URI specification.
098: *
099: *
100: *@deprecated The code for RDF URI References and IRIs is in the process of being updated.
101: ********************************************************************/
102: public class MalformedURIException extends IOException {
103:
104: /**
105: *
106: */
107: private static final long serialVersionUID = -5154380958191980632L;
108:
109: /******************************************************************
110: * Constructs a <code>MalformedURIException</code> with no specified
111: * detail message.
112: *
113: ******************************************************************/
114: public MalformedURIException() {
115: super ();
116: }
117:
118: /*****************************************************************
119: * Constructs a <code>MalformedURIException</code> with the
120: * specified detail message.
121: *
122: * @param p_msg the detail message.
123: ******************************************************************/
124: public MalformedURIException(String p_msg) {
125: super (p_msg);
126: }
127:
128: // public MalformedURIException(URISyntaxException e) {
129: // super();
130: // initCause(e);
131: // }
132: public MalformedURIException(SAXParseException e) {
133: super();
134: initCause(e);
135: }
136: }
|