< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/utils/URI.java

Print this page


   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xml.internal.serializer.utils;
  23 


  56  *
  57  * This class is a copy of the one in com.sun.org.apache.xml.internal.utils.
  58  * It exists to cut the serializers dependancy on that package.
  59  *
  60  * A minor change from the original is that this class no longer implements
  61  * Serializable, and the serialVersionUID magic field is dropped, and
  62  * the class is no longer "public".
  63  *
  64  * @xsl.usage internal
  65  */
  66 final class URI
  67 {
  68   /**
  69    * MalformedURIExceptions are thrown in the process of building a URI
  70    * or setting fields on a URI when an operation would result in an
  71    * invalid URI specification.
  72    *
  73    */
  74   public static class MalformedURIException extends IOException
  75   {

  76 
  77     /**
  78      * Constructs a <code>MalformedURIException</code> with no specified
  79      * detail message.
  80      */
  81     public MalformedURIException()
  82     {
  83       super();
  84     }
  85 
  86     /**
  87      * Constructs a <code>MalformedURIException</code> with the
  88      * specified detail message.
  89      *
  90      * @param p_msg the detail message.
  91      */
  92     public MalformedURIException(String p_msg)
  93     {
  94       super(p_msg);
  95     }


   1 /*
   2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
   3  * @LastModified: Oct 2017
   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xml.internal.serializer.utils;
  23 


  56  *
  57  * This class is a copy of the one in com.sun.org.apache.xml.internal.utils.
  58  * It exists to cut the serializers dependancy on that package.
  59  *
  60  * A minor change from the original is that this class no longer implements
  61  * Serializable, and the serialVersionUID magic field is dropped, and
  62  * the class is no longer "public".
  63  *
  64  * @xsl.usage internal
  65  */
  66 final class URI
  67 {
  68   /**
  69    * MalformedURIExceptions are thrown in the process of building a URI
  70    * or setting fields on a URI when an operation would result in an
  71    * invalid URI specification.
  72    *
  73    */
  74   public static class MalformedURIException extends IOException
  75   {
  76     private static final long serialVersionUID = 4651455286983598951L;
  77 
  78     /**
  79      * Constructs a <code>MalformedURIException</code> with no specified
  80      * detail message.
  81      */
  82     public MalformedURIException()
  83     {
  84       super();
  85     }
  86 
  87     /**
  88      * Constructs a <code>MalformedURIException</code> with the
  89      * specified detail message.
  90      *
  91      * @param p_msg the detail message.
  92      */
  93     public MalformedURIException(String p_msg)
  94     {
  95       super(p_msg);
  96     }


< prev index next >