org.eclipse.edje/src/main/java/org/eclipse/edje/io/AbstractConnectionOutputStream.java
protected void checkWrite() throws IOException {
		// just check if stream is closed
		if (isClosed) {
			throw new IOException("Stream already closed.");
		}
	}
/**
	 * Check if the stream is ready to be used. Subclass must always call this
	 * method before performing a new single write action.
	 *
	 * @throws IOException
	 *             if the stream is closed.
	 */
Check if the stream is ready to be used. Subclass must always call this
method before performing a new single write action.

@throws IOException
if the stream is closed.
Check if the stream is ready to be used . Subclass must always call this method before performing a new single write action . @throws IOException if the stream is closed .
protected void checkWrite() throws IOException {
		if (isClosed) {
			throw new IOException("Stream already closed.");
		}
	}
protected void checkWrite ( ) throws IOException { if ( isClosed ) { throw new IOException ( "Stream already closed." ) ; } }
Check if the stream is ready to be used.
Check if the stream is ready to be used .
// just check if stream is closed