This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] frysk system monitor/debugger branch, master, updated. 1048e398da0387157df4237cd1e896e33821aaa9


The branch, master has been updated
       via  1048e398da0387157df4237cd1e896e33821aaa9 (commit)
      from  17c8a7ffe15ebae6973d44ba9dcf9d35487d89bc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 1048e398da0387157df4237cd1e896e33821aaa9
Author: Teresa Thomas <tthomas@redhat.com>
Date:   Tue Nov 6 17:10:18 2007 -0500

    New ctor for InvalidOperatorException.
    
    frysk-core/frysk/value/ChangeLog
    2007-11-06  Teresa Thomas  <tthomas@redhat.com>
    
    	* InvalidOperatorException.java
    	(InvalidOperatorException(Type, Type, String)): New.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/value/ChangeLog                   |    3 +++
 .../frysk/value/InvalidOperatorException.java      |   10 ++++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/value/ChangeLog b/frysk-core/frysk/value/ChangeLog
index 188cec8..8be698c 100644
--- a/frysk-core/frysk/value/ChangeLog
+++ b/frysk-core/frysk/value/ChangeLog
@@ -1,5 +1,8 @@
 2007-11-06  Teresa Thomas  <tthomas@redhat.com>
 
+	* InvalidOperatorException.java 
+	(InvalidOperatorException(Type, Type, String)): New.
+	
 	* ArithmeticUnit.java (subtract): New.
 	(minusEqual): New.	
 	* AddressUnit.java (subtract): New.
diff --git a/frysk-core/frysk/value/InvalidOperatorException.java b/frysk-core/frysk/value/InvalidOperatorException.java
index 72bb87e..4b704ba 100644
--- a/frysk-core/frysk/value/InvalidOperatorException.java
+++ b/frysk-core/frysk/value/InvalidOperatorException.java
@@ -51,4 +51,14 @@ public class InvalidOperatorException extends RuntimeException {
 	      + type.toPrint()
 	      + "\"");
     }
+    
+    public InvalidOperatorException(Type t1, Type t2, String operator) {
+	super("Invalid operator \""
+	      + operator
+	      + "\" for \""
+	      + t1.toPrint()
+	      + "\", \"" 
+	      + t2.toPrint()
+	      + "\"");
+    }
 }


hooks/post-receive
--
frysk system monitor/debugger


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]