Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/javax/xml/validation/SchemaFactoryConfigurationError.java
32285 views
/*1* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package javax.xml.validation;2627/**28* Thrown when a problem with configuration with the Schema Factories29* exists. This error will typically be thrown when the class of a30* schema factory specified in the system properties cannot be found31* or instantiated.32* @since 1.833*/34public final class SchemaFactoryConfigurationError extends Error {3536static final long serialVersionUID = 3531438703147750126L;3738/**39* Create a new <code>SchemaFactoryConfigurationError</code> with no40* detail message.41*/42public SchemaFactoryConfigurationError() {43}444546/**47* Create a new <code>SchemaFactoryConfigurationError</code> with48* the <code>String</code> specified as an error message.49*50* @param message The error message for the exception.51*/52public SchemaFactoryConfigurationError(String message) {53super(message);54}5556/**57* Create a new <code>SchemaFactoryConfigurationError</code> with the58* given <code>Throwable</code> base cause.59*60* @param cause The exception or error to be encapsulated in a61* SchemaFactoryConfigurationError.62*/63public SchemaFactoryConfigurationError(Throwable cause) {64super(cause);65}6667/**68* Create a new <code>SchemaFactoryConfigurationError</code> with the69* given <code>Throwable</code> base cause and detail message.70*71* @param cause The exception or error to be encapsulated in a72* SchemaFactoryConfigurationError.73* @param message The detail message.74*/75public SchemaFactoryConfigurationError(String message, Throwable cause) {76super(message, cause);77}7879}808182