Package alexiil.mc.lib.net
Class CheckingNetByteBuf.InvalidNetTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CheckingNetByteBuf
Unchecked exception that's thrown when one of the types doesn't match.
- See Also:
- Serialized Form
-
Field Summary
Modifier and TypeFieldDescriptionint
-
Constructor Summary
ConstructorDescriptionInvalidNetTypeException(CheckingNetByteBuf.NetMethod method, int index, String writeArgs, String readArgs)
InvalidNetTypeException(CheckingNetByteBuf.NetMethod written, CheckingNetByteBuf.NetMethod read, int index)
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
written
-
read
-
writeArgs
-
readArgs
-
index
public final int index
-
-
Constructor Details
-
InvalidNetTypeException
public InvalidNetTypeException(CheckingNetByteBuf.NetMethod written, CheckingNetByteBuf.NetMethod read, int index) -
InvalidNetTypeException
public InvalidNetTypeException(CheckingNetByteBuf.NetMethod method, int index, String writeArgs, String readArgs)
-