You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/11/24 16:10:48 UTC

svn commit: r348749 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java

Author: jeremias
Date: Thu Nov 24 07:10:44 2005
New Revision: 348749

URL: http://svn.apache.org/viewcvs?rev=348749&view=rev
Log:
Removed an inappropriate exception.
Tweaked the other exception.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java   (contents, props changed)

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java?rev=348749&r1=348748&r2=348749&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java Thu Nov 24 07:10:44 2005
@@ -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 @@
 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 @@
                          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!");
     }
 
 }

Propchange: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java
------------------------------------------------------------------------------
    svn:keywords = Id



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org