diff options
| author | Mark Wielaard <mark@klomp.org> | 2002-04-30 10:54:35 +0000 |
|---|---|---|
| committer | Mark Wielaard <mark@klomp.org> | 2002-04-30 10:54:35 +0000 |
| commit | 7de2fefd01394cc3f111bf8a82a130cf6e59c8a5 (patch) | |
| tree | 2c5d402ed8d7cc5982a2cb556cc83e084827844e /java/util/prefs | |
| parent | ff68d63638690f0f16eb0494b9e43ccffb2e0646 (diff) | |
| download | classpath-7de2fefd01394cc3f111bf8a82a130cf6e59c8a5.tar.gz | |
* java/util/prefs/BackingStoreException.java (readObject): Throws
NotSerializableException.
(writeObject): Likewise.
* java/util/prefs/InvalidPreferencesFormatException.java: Remove
second super call.
(readObject): Throws NotSerializableException.
(writeObject): Likewise.
* lib/standard.omit: Remove [gnu.]java.util.prefs (which compiles) and
gnu.classpath.tools (which does not exist).
Diffstat (limited to 'java/util/prefs')
| -rw-r--r-- | java/util/prefs/BackingStoreException.java | 4 | ||||
| -rw-r--r-- | java/util/prefs/InvalidPreferencesFormatException.java | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/java/util/prefs/BackingStoreException.java b/java/util/prefs/BackingStoreException.java index 84debf318..280726d9c 100644 --- a/java/util/prefs/BackingStoreException.java +++ b/java/util/prefs/BackingStoreException.java @@ -83,7 +83,7 @@ public class BackingStoreException extends Exception * * @param o the output stream */ - private void writeObject(ObjectOutputStream o) + private void writeObject(ObjectOutputStream o) throws NotSerializableException { throw new NotSerializableException ("java.util.prefs.BackingStoreException"); @@ -94,7 +94,7 @@ public class BackingStoreException extends Exception * * @param i the input stream */ - private void readObject(ObjectInputStream i) + private void readObject(ObjectInputStream i) throws NotSerializableException { throw new NotSerializableException ("java.util.prefs.BackingStoreException"); diff --git a/java/util/prefs/InvalidPreferencesFormatException.java b/java/util/prefs/InvalidPreferencesFormatException.java index ba06b72fb..f774e1817 100644 --- a/java/util/prefs/InvalidPreferencesFormatException.java +++ b/java/util/prefs/InvalidPreferencesFormatException.java @@ -87,7 +87,6 @@ public class InvalidPreferencesFormatException extends Exception public InvalidPreferencesFormatException(String message, Throwable cause) { super(message, cause); - super(message); } /** @@ -95,7 +94,7 @@ public class InvalidPreferencesFormatException extends Exception * * @param o the output stream */ - private void writeObject(ObjectOutputStream o) + private void writeObject(ObjectOutputStream o) throws NotSerializableException { throw new NotSerializableException ("java.util.prefs.InvalidPreferencesFormatException"); @@ -106,7 +105,7 @@ public class InvalidPreferencesFormatException extends Exception * * @param i the input stream */ - private void readObject(ObjectInputStream i) + private void readObject(ObjectInputStream i) throws NotSerializableException { throw new NotSerializableException ("java.util.prefs.InvalidPreferencesFormatException"); |
