public function writeClosingParenthesis()
    {
        try {
            $this->getStream()->write(')');
        } catch (StreamException $e) {
            $msg = "An error occured while writing a closing parenthesis ()).";
            throw new StreamAccessException($msg, $this, 0, $e);
        }
    }
public function writeClosingParenthesis()
    {
        try {
            $this->getStream()->write(')');
        } catch (StreamException $e) {
            $msg = "An error occured while writing a closing parenthesis ()).";
            throw new StreamAccessException($msg, $this, 0, $e);
        }
    }
public function writeClosingParenthesis ( ) { try { $ this -> getStream ( ) -> write ( ')' ) ; } catch ( StreamException $ e ) { $ msg = "An error occured while writing a closing parenthesis ())." ; throw new StreamAccessException ( $ msg , $ this , 0 , $ e ) ; } }
Write a closing parenthesis in the current stream.

@throws StreamAccessException If an error occurs while writing the closing parenthesis.
Write a closing parenthesis in the current stream .