Package client

Class PacketConversionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
client.PacketConversionException
All Implemented Interfaces:
Serializable

public class PacketConversionException extends Exception
The PacketConversionException is used when trying to convert an object of type Packet to something else. It has its own unique exception in order to provide greater clarity when errors occur.
Since:
2023
See Also:
  • Constructor Details

    • PacketConversionException

      public PacketConversionException()
      Simple PacketConversionException where it is initialises its superclass with a generic message.
    • PacketConversionException

      public PacketConversionException(String errorMessage)
      Simple PacketConversionException where it is initialises its superclass with a specialised message.
      Parameters:
      errorMessage -