/** * * * @return MSeekNotSupportedException */ public function __construct(MStream $stream, MException $previous = null) { parent::__construct($stream, S("Seeking is not supported within this stream!"), MException::SEEK_NOT_SUPPORTED_EXCEPTION_CODE, $previous); }
/** * * * @return MStreamClosedException */ public function __construct(MStream $stream, MException $previous = null) { parent::__construct($stream, S("Attempted to perform an operation that is not valid on a closed stream!"), MException::STREAM_CLOSED_EXCEPTION_CODE, $previous); }
/** * * * @return MEndOfStreamException */ public function __construct(MStream $stream, MException $previous = null) { parent::__construct($stream, S("End of stream reached!"), MException::END_OF_STREAM_EXCEPTION_CODE, $previous); }