![JAR search and dependency download from the Maven repository](/logo.png)
net.lenni0451.mcping.exception.PacketReadException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MCPing Show documentation
Show all versions of MCPing Show documentation
A simple library to ping minecraft servers
The newest version!
package net.lenni0451.mcping.exception;
import java.io.IOException;
public class PacketReadException extends IOException {
public static PacketReadException wrongPacketId(final int expected, final int actual) {
return new PacketReadException("Expected packet id " + expected + " but got " + actual);
}
public PacketReadException(final String message) {
super(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy