Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/javax/xml/validation/SchemaFactoryConfigurationError.java
32285 views
1
/*
2
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation. Oracle designates this
8
* particular file as subject to the "Classpath" exception as provided
9
* by Oracle in the LICENSE file that accompanied this code.
10
*
11
* This code is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* version 2 for more details (a copy is included in the LICENSE file that
15
* accompanied this code).
16
*
17
* You should have received a copy of the GNU General Public License version
18
* 2 along with this work; if not, write to the Free Software Foundation,
19
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
*
21
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
* or visit www.oracle.com if you need additional information or have any
23
* questions.
24
*/
25
26
package javax.xml.validation;
27
28
/**
29
* Thrown when a problem with configuration with the Schema Factories
30
* exists. This error will typically be thrown when the class of a
31
* schema factory specified in the system properties cannot be found
32
* or instantiated.
33
* @since 1.8
34
*/
35
public final class SchemaFactoryConfigurationError extends Error {
36
37
static final long serialVersionUID = 3531438703147750126L;
38
39
/**
40
* Create a new <code>SchemaFactoryConfigurationError</code> with no
41
* detail message.
42
*/
43
public SchemaFactoryConfigurationError() {
44
}
45
46
47
/**
48
* Create a new <code>SchemaFactoryConfigurationError</code> with
49
* the <code>String</code> specified as an error message.
50
*
51
* @param message The error message for the exception.
52
*/
53
public SchemaFactoryConfigurationError(String message) {
54
super(message);
55
}
56
57
/**
58
* Create a new <code>SchemaFactoryConfigurationError</code> with the
59
* given <code>Throwable</code> base cause.
60
*
61
* @param cause The exception or error to be encapsulated in a
62
* SchemaFactoryConfigurationError.
63
*/
64
public SchemaFactoryConfigurationError(Throwable cause) {
65
super(cause);
66
}
67
68
/**
69
* Create a new <code>SchemaFactoryConfigurationError</code> with the
70
* given <code>Throwable</code> base cause and detail message.
71
*
72
* @param cause The exception or error to be encapsulated in a
73
* SchemaFactoryConfigurationError.
74
* @param message The detail message.
75
*/
76
public SchemaFactoryConfigurationError(String message, Throwable cause) {
77
super(message, cause);
78
}
79
80
}
81
82