All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.lenni0451.mcping.exception.PacketReadException Maven / Gradle / Ivy

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