Package org.geysermc.geyser.api.network
Class NetworkDispatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.geysermc.geyser.api.network.NetworkApiException
org.geysermc.geyser.api.network.NetworkDispatchException
- All Implemented Interfaces:
Serializable
Thrown when a message handler, encoder, or decoder fails while a network
message is being dispatched through Geyser.
The original failure is always preserved as the cause so the underlying stack trace remains intact when this exception
surfaces through Netty's pipeline. Use NetworkApiException.source() to identify which
extension or plugin is at fault.
- Since:
- 2.9.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkDispatchException(@Nullable String source, String message) NetworkDispatchException(@Nullable String source, String message, Throwable cause) -
Method Summary
Methods inherited from class org.geysermc.geyser.api.network.NetworkApiException
sourceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NetworkDispatchException
-
NetworkDispatchException
-