Revision: 7790
Author: victormote
Date: 2006-07-17 19:13:25 -0700 (Mon, 17 Jul 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7790&view=rev
Log Message:
-----------
Improve error message a bit.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprMultiplicativeOper.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprMultiplicativeOper.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprMultiplicativeOper.java 2006-07-18 01:56:23 UTC (rev 7789)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprMultiplicativeOper.java 2006-07-18 02:13:25 UTC (rev 7790)
@@ -39,13 +39,13 @@
ExprUnary operand2, byte operation)
throws PropertyException {
if (operand1.unitPower() < 0) {
- throw new PropertyException("MultiplicativeExpr: Non-numeric "
- + "operand: " + operand1.toString());
+ throw new PropertyException(this.getClass().getName()
+ + ": Non-numeric operand: " + operand1.toString());
}
this.operand1 = operand1;
if (operand2.unitPower() < 0) {
- throw new PropertyException("MultiplicativeExpr: Non-numeric "
- + "operand: " + operand2.toString());
+ throw new PropertyException(this.getClass().getName()
+ + "Non-numeric operand: " + operand2.toString());
}
this.operand2 = operand2;
/*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|