1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one or more 3 * contributor license agreements. See the NOTICE file distributed with 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 7 * the License. You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 // $Id: XPathFactoryConfigurationException.java 446598 2006-09-15 12:55:40Z jeremias $ 18 19 package javax.xml.xpath; 20 21 /** 22 * <code>XPathFactoryConfigurationException</code> represents a configuration error in a <code>XPathFactory</code> environment.</p> 23 * 24 * @author <a href="mailto:Norman.Walsh@Sun.com">Norman Walsh</a> 25 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a> 26 * @version $Revision: 446598 $, $Date: 2006-09-15 05:55:40 -0700 (Fri, 15 Sep 2006) $ 27 * @since 1.5 28 */ 29 public class XPathFactoryConfigurationException extends XPathException { 30 31 /** 32 * <p>Stream Unique Identifier.</p> 33 */ 34 private static final long serialVersionUID = -1837080260374986980L; 35 36 /** 37 * <p>Constructs a new <code>XPathFactoryConfigurationException</code> with the specified detail <code>message</code>.</p> 38 * 39 * <p>The <code>cause</code> is not initialized.</p> 40 * 41 * <p>If <code>message</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p> 42 * 43 * @param message The detail message. 44 */ XPathFactoryConfigurationException(String message)45 public XPathFactoryConfigurationException(String message) { 46 super(message); 47 } 48 49 /** 50 * <p>Constructs a new <code>XPathFactoryConfigurationException</code> with the specified <code>cause</code>.</p> 51 * 52 * <p>If <code>cause</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p> 53 * 54 * @param cause The cause. 55 * 56 * @throws NullPointerException if <code>cause</code> is <code>null</code>. 57 */ XPathFactoryConfigurationException(Throwable cause)58 public XPathFactoryConfigurationException(Throwable cause) { 59 super(cause); 60 } 61 } 62