io.vertx.core.streams

## Interface StreamBase

- All Known Subinterfaces:
    AsyncFile, BodyStream<T>, CassandraRowStream, DatagramSocket, GrpcBidiExchange<I,O>, GrpcReadStream<T>, GrpcUniExchange<O,I>, GrpcWriteStream<T>, HttpClientRequest, HttpClientResponse, HttpServerFileUpload, HttpServerRequest, HttpServerResponse, JsonParser, KafkaConsumer<K,V>, KafkaProducer<K,V>, KafkaReadStream<K,V>, KafkaWriteStream<K,V>, MessageConsumer<T>, MessageProducer<T>, NetSocket, RabbitMQConsumer, ReactiveReadStream<T>, ReactiveWriteStream<T>, ReadStream<T>, RecordParser, ServerWebSocket, SockJSSocket, TestSuiteReport, TimeoutStream, WebSocket, WebSocketBase, WriteStream<T>

      public interface StreamBase

  Base interface for a stream.
  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `StreamBase` | `exceptionHandler(Handler<Throwable> handler)` Set an exception handler.

- - ### Method Detail

    - #### exceptionHandler

          StreamBase exceptionHandler(Handler<Throwable> handler)

      Set an exception handler.
      Parameters:
        `handler` - the handler
      Returns:
        a reference to this, so the API can be used fluently

Copyright © 2018 Eclipse. All rights reserved.