Class InvalidPacketException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
uk.ac.manchester.spinnaker.connections.model.InvalidPacketException
- All Implemented Interfaces:
Serializable
public class InvalidPacketException extends IOException
Indicates that a packet with an unsupported format was received.
- Author:
- Donal Fellows
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidPacketException(String message)
Create an instance.InvalidPacketException(String message, Throwable cause)
Create an instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPacketException
Create an instance.- Parameters:
message
- The exception message.
-
InvalidPacketException
Create an instance.- Parameters:
message
- The exception message.cause
- The cause of the exception.
-