Examples of StaticError


Examples of xbird.xquery.StaticError

        if(!_analyzed) {
            this._analyzed = true;
            final Type targetType = _targetType;
            final Type primeType = targetType.prime();
            if(primeType == NOTATIONType.NOTATION || primeType == AtomicType.ANY_ATOMIC_TYPE) {
                throw new StaticError("err:XPST0080", "Illegal target type: " + _targetType);
            }
            this._inputExpr = _inputExpr.staticAnalysis(statEnv);
            final Type inputType = _inputExpr.getType();
            if(inputType == targetType) {
                return _inputExpr;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.