Class PacketDecodeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.mahmoudimus.quic.packet.PacketDecodeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnsupportedVersionException

public class PacketDecodeException extends Exception
A packet header that cannot be decoded. Such packets are dropped without affecting the connection (RFC 9000 section 12.2 and 17), so this is not a QuicException.
See Also:
  • Constructor Details

    • PacketDecodeException

      public PacketDecodeException(String reason)
      A decode failure.
      Parameters:
      reason - what was wrong with the header