diff options
Diffstat (limited to 'libjava/classpath/javax/swing/text/StyleContext.java')
-rw-r--r-- | libjava/classpath/javax/swing/text/StyleContext.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libjava/classpath/javax/swing/text/StyleContext.java b/libjava/classpath/javax/swing/text/StyleContext.java index e2643a2aacd..8ef34400d29 100644 --- a/libjava/classpath/javax/swing/text/StyleContext.java +++ b/libjava/classpath/javax/swing/text/StyleContext.java @@ -38,6 +38,8 @@ exception statement from your version. */ package javax.swing.text; +import gnu.classpath.NotImplementedException; + import java.awt.Color; import java.awt.Font; import java.awt.FontMetrics; @@ -711,35 +713,37 @@ public class StyleContext // have left incomplete; I'm not sure I understand the intent properly. public static Object getStaticAttribute(Object key) + throws NotImplementedException { throw new InternalError("not implemented"); } public static Object getStaticAttributeKey(Object key) + throws NotImplementedException { throw new InternalError("not implemented"); } public static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a) - throws ClassNotFoundException, IOException + throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); } public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) - throws IOException + throws IOException, NotImplementedException { throw new InternalError("not implemented"); } public void readAttributes(ObjectInputStream in, MutableAttributeSet a) - throws ClassNotFoundException, IOException + throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); } public void writeAttributes(ObjectOutputStream out, AttributeSet a) - throws IOException + throws IOException, NotImplementedException { throw new InternalError("not implemented"); } |