aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/expr
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-11-24 15:10:44 +0000
committerJeremias Maerki <jeremias@apache.org>2005-11-24 15:10:44 +0000
commit932942c2866fdc0af129c9b85ca5ddaf7dd04513 (patch)
tree6944e9091c71ef6a4e087a1c9f261ad44dfaa23f /src/java/org/apache/fop/fo/expr
parentfaae5bc9c23d354b5bf433599789470c38d39e73 (diff)
downloadxmlgraphics-fop-932942c2866fdc0af129c9b85ca5ddaf7dd04513.tar.gz
xmlgraphics-fop-932942c2866fdc0af129c9b85ca5ddaf7dd04513.zip
Bugzilla #37557:
Removed an inappropriate exception. Tweaked the other exception. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348749 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr')
-rw-r--r--src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java b/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java
index 287e833f3..a076eee4c 100644
--- a/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java
+++ b/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.apache.fop.fo.properties.Property;
public class FromTableColumnFunction extends FunctionBase {
/**
- * @return 1 (maximum argumenst for the from-table-column function)
+ * @return 1 (maximum arguments for the from-table-column function)
*/
public int nbArgs() {
return 1;
@@ -47,9 +47,9 @@ public class FromTableColumnFunction extends FunctionBase {
PropertyInfo pInfo) throws PropertyException {
String propName = args[0].getString();
if (propName == null) {
- throw new PropertyException("Incorrect parameter to from-table-column function");
+ //TODO Determine on which property this method was called.
}
- throw new PropertyException("from-table-column unimplemented!");
+ throw new PropertyException("The from-table-column() function is not implemented, yet!");
}
}