Class QuicStreamResetException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class QuicStreamResetException
    extends QuicException
    Signals a stream reset.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      QuicStreamResetException​(java.lang.String message, long applicationProtocolCode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long applicationProtocolCode()
      Returns the optional application protocol error code set on RESET_STREAM frames.
      • 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

      • QuicStreamResetException

        public QuicStreamResetException​(java.lang.String message,
                                        long applicationProtocolCode)
    • Method Detail

      • applicationProtocolCode

        public long applicationProtocolCode()
        Returns the optional application protocol error code set on RESET_STREAM frames. Note: this is not yet implemented for STOP_SENDING frames.
        Returns:
        the optional application protocol error code or -1 when no such code is provided.