/** The XPath node with value "{0}" was not a text node. */ public CompilationMessage errUnexpectedNodeTypeForXPath(String string) { return super.formatCompilationMessage( "The XPath node with value \"{0}\" was not a text node.", string); }
public CompilationException(CompilationMessage msg, Throwable cause) { super(msg.toErrorString(),cause); _msg = msg; } /**
public void onCompilationMessage(CompilationMessage m) { if (m.severity >= _minSeverity) { _cc.outln(m.toErrorString()); } if (_compileListener != null) { _compileListener.onCompilationMessage(m); } } };
public void compile(OActivity output, Activity src) { WaitActivity waitDef = (WaitActivity)src; OWait owait = (OWait)output; if (waitDef.getFor() != null && waitDef.getUntil() == null) { owait.forExpression = _context.compileExpr(waitDef.getFor()); } else if (waitDef.getFor() == null && waitDef.getUntil() != null) { owait.untilExpression = _context.compileExpr(waitDef.getUntil()); } else { throw new CompilationException(_msgs.errWaitMustDefineForOrUntilDuration().setSource(waitDef)); } } }
public void compile(OActivity output, Activity src) { CompensateScopeActivity compSrc = (CompensateScopeActivity) src; if (compSrc.getScopeToCompensate() == null) throw new CompilationException(__cmsgs.errScopeToCompensateUnspecfied()); ((OCompensate)output).compensatedScope = _context.resolveCompensatableScope(compSrc.getScopeToCompensate()); }
/** Invalid number of argument to function "{0}". */ public CompilationMessage errExpressionMessageNoPart(String message) { return super.formatCompilationMessage("Attempt to use the messageType variable {0} in an expression " + " even though the associated message is undefined or has no part.", message); } /** Empty query */
public String toErrorMessage() { return _msg.toErrorString(); }
/** The expression "{0}" must be a literal string. */ public CompilationMessage errLiteralExpected(String text) { return super.formatCompilationMessage("The expression \"{0}\" must be a literal string.", text); }
public String toString() { return "CompilationMessage: " + toErrorString(); }
/** * The prefixed name "{0}" could not be dereferenced in this namespace * context. */ public CompilationMessage errInvalidQName(String qnameStr) { return super.formatCompilationMessage( "The prefixed name \"{0}\" could not be dereferenced in this namespace context.", qnameStr); }
/** The string "{0}" is not a valid XPath 1.0 expression. */ public CompilationMessage errXPathSyntax(String xPathString) { return super.formatCompilationMessage( "The string \"{0}\" is not a valid XPath 1.0 expression.", xPathString); }
/** Unexpected compilator error: {0} */ public CompilationMessage errUnexpectedCompilationError(String string) { return super.formatCompilationMessage( "Unexpected compilation error: {0}", string); }
/** bpws:xsltStylesheetNotFound the declared stylesheet could not be found: {0} */ public CompilationMessage errXsltStylesheetNotFound(String string) { return super.formatCompilationMessage( "bpws:xsltStylesheetNotFound the declared stylesheet could not be found: {0}", string); }
/** Attempt to use an unrecognized BPEL function "{0}". */ public CompilationMessage errUnknownBpelFunction(String functionName) { return super.formatCompilationMessage( "Attempt to use an unrecognized BPEL function \"{0}\".", functionName); }
/** The string "{0}" is not a valid XPath 1.0 expression. */ public CompilationMessage warnXPath20Syntax(String xPathString, String message) { return super.formatCompilationMessage( "The string \"{0}\" is not a valid XPath 2.0 expression: {1}", xPathString, message); }
/** Invalid number of argument to function "{0}". */ public CompilationMessage errInvalidNumberOfArguments(String functionName) { return super.formatCompilationMessage("Invalid number of argument to function \"{0}\".", functionName); }
/** The string "{0}" is not a valid XQuery 1.0 expression. */ public CompilationMessage errXQuery10Syntax(String xQueryString, String message) { return super.formatCompilationMessage( "The string \"{0}\" is not a valid XQuery 1.0 expression: {1}", xQueryString, message); }
/** Error compiling XSL Sheet "{0}" : {1}. */ public CompilationMessage errXslCompilation(String xslName, String error) { return super.formatCompilationMessage("Error compiling XSL Sheet \"{0}\" : {1}", xslName, error); }
/** The prefix "{0}" on the XPath function "{1}" is not bound to a URI. */ public CompilationMessage errUndeclaredFunctionPrefix(String prefix, String functionName) { return super.formatCompilationMessage("The prefix \"{0}\" on the XPath function \"{1}\"" + " is not bound to a URI.", prefix, functionName); }
public CompilationMessage errUnconfigurableXPathFactory() { return super.formatCompilationMessage("Couldn't configure XPath factory"); }