Class PacketException

  • All Implemented Interfaces:
    Serializable

    public class PacketException
    extends Exception
    Describes an exception that is raised when the process of serializing or deserializing a network packet/stream fails. This generally happens when the packet/stream is malformed.
    See Also:
    Serialized Form
    • Constructor Detail

      • PacketException

        public PacketException​(String message)
      • PacketException

        public PacketException​(String message,
                               Throwable cause)