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
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PacketDecodeException
A decode failure.- Parameters:
reason- what was wrong with the header
-