io.vertx.core.http

## Class StreamResetException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.VertxException
        - - io.vertx.core.http.StreamResetException

- All Implemented Interfaces:
    Serializable

      public class StreamResetException
      extends VertxException

  This exception signals a stream reset, it is used only for HTTP/2.
  Author:
    Julien Viet
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamResetException(long code)`
    `StreamResetException(long code, Throwable cause)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getCode()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StreamResetException

          public StreamResetException(long code)

    - #### StreamResetException

          public StreamResetException(long code,
                                      Throwable cause)

  - ### Method Detail

    - #### getCode

          public long getCode()

      Returns:
        the reset error code

Copyright © 2022 Eclipse. All rights reserved.