Class QuicConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.github.mahmoudimus.quic.QuicConnectionException
All Implemented Interfaces:
Serializable

public class QuicConnectionException extends IOException
A blocking operation failed because its connection ended, or could not be established.
See Also:
  • Constructor Details

    • QuicConnectionException

      public QuicConnectionException(ConnectionError error)
      An exception for a connection that ended.
      Parameters:
      error - why it ended
  • Method Details

    • error

      public ConnectionError error()
      Why the connection ended.
      Returns:
      the reason; null after deserialization