Debian Codegraph @

net/sf/saxon/trans/NoDynamicContextException.java

raw symbols SCIP
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.trans;
9
10 /**
11 * This exception class is used when early (compile-time) evaluation of an expression
12 * is attempted, and the expression requires knowledge of the current dateTime or implicit
13 * timezone. This exception should be caught internally, and should result in evaluation
14 * of the expression being deferred until run-time
15 */
16 public class NoDynamicContextException extends XPathException {
17
18 /**
19 * Create a NoDynamicContextException
20 *
21 * @param message the error message
22 */
23
24 public NoDynamicContextException(String message) {
25 super("Dynamic context missing: " + message);
26 }
27 }