2004/01/03 04:27:27
[org.ibex.core.git] / src / org / xwt / js / JSDate.java
index d41dfcc..ca9c5b7 100644 (file)
@@ -61,7 +61,7 @@ public class JSDate extends JS {
 
     public String coerceToString() { return date_format(date, FORMATSPEC_FULL); }
 
-    public Object callMethod(Object method, Object a0, Object a1, Object a2, Object[] rest, int nargs) {
+    public Object callMethod(Object method, Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
         switch(nargs) {
             case 0: {
                 //#switch(method)
@@ -126,7 +126,7 @@ public class JSDate extends JS {
         return super.callMethod(method, a0, a1, a2, rest, nargs);
     }
 
-    public Object get(Object key) {
+    public Object get(Object key) throws JSExn {
         //#switch(key)
         case "toString": return METHOD;
         case "toTimeString": return METHOD;