From d60a1b5e4b7c1906ef3c64d6a65804fe7894e72b Mon Sep 17 00:00:00 2001 From: "ashuk%eng.sun.com" Date: Tue, 23 May 2000 21:04:47 +0000 Subject: [PATCH] Added code for UnimplementedException. This exception gets thrown whenever a funcion that has not yet been implemented is called. Bug = 40330 author = ashuk r = edburns _Ashu git-svn-id: svn://10.0.0.236/trunk@70680 18797224-902f-48f8-a5cc-f745e15eee43 --- .../org/mozilla/webclient/CurrentPage.java | 4 +++- .../webclient/UnimplementedException.java | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 mozilla/java/webclient/classes_spec/org/mozilla/webclient/UnimplementedException.java diff --git a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/CurrentPage.java b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/CurrentPage.java index 53759d1d5f8..5a1cc8bbdae 100644 --- a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/CurrentPage.java +++ b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/CurrentPage.java @@ -22,6 +22,8 @@ package org.mozilla.webclient; +import java.util.Properties; + public interface CurrentPage { public void copyCurrentSelectionToSystemClipboard(); @@ -34,7 +36,7 @@ public String getCurrentURL(); // org.w3c.dom.Document getDOM(); - // webclient.PageInfo getPageInfo(); +public Properties getPageInfo(); public String getSource(); diff --git a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/UnimplementedException.java b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/UnimplementedException.java new file mode 100644 index 00000000000..4223d0b01bb --- /dev/null +++ b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/UnimplementedException.java @@ -0,0 +1,22 @@ +/** This class implements the UnimplementedException Exception + class. This derives from RuntimeException and is used as a + placeholder definition for all API functions that have not + yet been implemented + */ + +package org.mozilla.webclient; + +import java.lang.*; + + +public class UnimplementedException extends RuntimeException +{ + + public UnimplementedException() { } + + public UnimplementedException(String msg) + { + super(msg); + } + +}