Updated Branches: refs/heads/ode-1.3.6.x 24013c829 -> b53e4b61e
Fixing some error messages, backported from trunk. Project: http://git-wip-us.apache.org/repos/asf/ode/repo Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/b53e4b61 Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/b53e4b61 Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/b53e4b61 Branch: refs/heads/ode-1.3.6.x Commit: b53e4b61ea086f4914b6fb70e9b50bf06dd10a41 Parents: 24013c8 Author: Tammo van Lessen <[email protected]> Authored: Tue Oct 1 19:04:14 2013 +0200 Committer: Tammo van Lessen <[email protected]> Committed: Tue Oct 1 19:04:14 2013 +0200 ---------------------------------------------------------------------- .../ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/b53e4b61/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java ---------------------------------------------------------------------- diff --git a/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java b/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java index 755b40f..4f5aab3 100644 --- a/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java +++ b/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java @@ -557,7 +557,7 @@ public class JaxpFunctionResolver implements XPathFunctionResolver { childNodes = new ArrayList<Node>(); childNodes.add(childElmt); } else { - throw new XPathFunctionException("Unexpected argument type: "+args.get(0).getClass()); + throw new XPathFunctionException("Unexpected argument type: "+args.get(2).getClass()); } } catch (IllegalArgumentException e) { throw new XPathFunctionException( @@ -780,7 +780,7 @@ public class JaxpFunctionResolver implements XPathFunctionResolver { siblingNodes = new ArrayList<Node>(); siblingNodes.add(childElmt); } else { - throw new XPathFunctionException("Unexpected argument type: "+args.get(0).getClass()); + throw new XPathFunctionException("Unexpected argument type: "+args.get(1).getClass()); } } catch (IllegalArgumentException e) { throw new XPathFunctionException( @@ -839,7 +839,7 @@ public class JaxpFunctionResolver implements XPathFunctionResolver { siblingNodes = new ArrayList<Node>(); siblingNodes.add(childElmt); } else { - throw new XPathFunctionException("Unexpected argument type: "+args.get(0).getClass()); + throw new XPathFunctionException("Unexpected argument type: "+args.get(1).getClass()); } } catch (IllegalArgumentException e) { throw new XPathFunctionException(
