[SAGA-RG] saga-ogf SVN commit 1284: /trunk/documents/saga-core-binding-java/implementation/VU/src/org/ogf/saga/stream/

ceriel at cs.vu.nl ceriel at cs.vu.nl
Wed Sep 1 10:06:52 CDT 2010


User: svn_ceriel
Date: 2010/09/01 10:06 AM

Modified:
 /trunk/documents/saga-core-binding-java/implementation/VU/src/org/ogf/saga/stream/
  Stream.java

Log:
 Fix: close() no longer throws IncorrectState.

File Changes:

Directory: /trunk/documents/saga-core-binding-java/implementation/VU/src/org/ogf/saga/stream/
=============================================================================================

File [modified]: Stream.java
Delta lines: +2 -6
===================================================================
--- trunk/documents/saga-core-binding-java/implementation/VU/src/org/ogf/saga/stream/Stream.java	2010-08-26 15:35:55 UTC (rev 1283)
+++ trunk/documents/saga-core-binding-java/implementation/VU/src/org/ogf/saga/stream/Stream.java	2010-09-01 15:06:46 UTC (rev 1284)
@@ -308,14 +308,12 @@
      * @exception NotImplementedException
      *      is thrown if the implementation does not provide an
      *      implementation of this method.
-     * @exception IncorrectStateException
-     *      is thrown when the backend changed its state.
      * @exception NoSuccessException
      *      is thrown when the operation was not successfully performed,
      *      and none of the other exceptions apply.
      */
     public void close() throws NotImplementedException,
-            IncorrectStateException, NoSuccessException;
+            NoSuccessException;
 
     /**
      * Closes an active connection. I/O is no longer possible. The stream is put
@@ -326,14 +324,12 @@
      * @exception NotImplementedException
      *      is thrown if the implementation does not provide an
      *      implementation of this method.
-     * @exception IncorrectStateException
-     *      is thrown when the backend changed its state.
      * @exception NoSuccessException
      *      is thrown when the operation was not successfully performed,
      *      and none of the other exceptions apply.
      */
     public void close(float timeoutInSeconds) throws NotImplementedException,
-            IncorrectStateException, NoSuccessException;
+            NoSuccessException;
 
     // I/O methods
 



More information about the saga-rg mailing list