| 1 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 | // Copyright (c) 2018 Saxonica Limited. |
| 3 | // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. |
| 4 | // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. |
| 6 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 7 | |
| 8 | package net.sf.saxon.type; |
| 9 | |
| 10 | /** |
| 11 | * This exception occurs when an attempt is made to dereference a reference from one |
| 12 | * schema component to another, if the target of the reference cannot be found. Note that |
| 13 | * an unresolved reference is not necessarily an error: a schema containing unresolved |
| 14 | * references may be used for validation, provided the components containing the |
| 15 | * unresolved references are not actually used. |
| 16 | */ |
| 17 | |
| 18 | public abstract class MissingComponentException extends SchemaException { |
| 19 | |
| 20 | public MissingComponentException(String ref) { |
| 21 | super(ref); |
| 22 | } |
| 23 | } |