diff options
author | Audrius Meskauskas <audriusa@Bioinformatics.org> | 2005-05-17 08:29:44 +0000 |
---|---|---|
committer | Audrius Meskauskas <audriusa@Bioinformatics.org> | 2005-05-17 08:29:44 +0000 |
commit | b08b41083cb53746d3229fa25c9a612a4f368ed6 (patch) | |
tree | 171658821e82e35e4175a853b9224b2edab7dee5 /org/omg/CORBA/portable | |
parent | 5588150876dd175a6721c36a05a872e8474743be (diff) | |
download | classpath-b08b41083cb53746d3229fa25c9a612a4f368ed6.tar.gz |
2005-05-15 Audrius Meskauskas <AudriusA@bluewin.ch>
* org/omg/CORBA/portable/OutputStream.java
(read): Declaring and commenting the IOException
Diffstat (limited to 'org/omg/CORBA/portable')
-rw-r--r-- | org/omg/CORBA/portable/OutputStream.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/org/omg/CORBA/portable/OutputStream.java b/org/omg/CORBA/portable/OutputStream.java index fde1a7118..cdf31a6e1 100644 --- a/org/omg/CORBA/portable/OutputStream.java +++ b/org/omg/CORBA/portable/OutputStream.java @@ -38,8 +38,6 @@ exception statement from your version. */ package org.omg.CORBA.portable; -import java.math.BigDecimal; - import org.omg.CORBA.Any; import org.omg.CORBA.Context; import org.omg.CORBA.ContextList; @@ -48,6 +46,10 @@ import org.omg.CORBA.ORB; import org.omg.CORBA.Principal; import org.omg.CORBA.TypeCode; +import java.io.IOException; + +import java.math.BigDecimal; + /** * This class is used to write CORBA IDL data types. * @@ -73,15 +75,17 @@ public abstract class OutputStream } /** - * Should write an integer to the output stream, but, + * Should write an byte (lower 8 bits) to the output stream, but, * following specification, it does not and * must be overridden to get a functionality. * * @param n an integer to write. * * @throws NO_IMPLEMENT, always. + * @throws IOException in overriden methods. */ public void write(int n) + throws IOException { throw new NO_IMPLEMENT(); } |