From 932942c2866fdc0af129c9b85ca5ddaf7dd04513 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 24 Nov 2005 15:10:44 +0000 Subject: 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 --- src/java/org/apache/fop/fo/expr/FromTableColumnFunction.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/java/org/apache/fop/fo/expr') 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!"); } } -- cgit v1.2.3