Package org.geysermc.geyser.api.network
Class NetworkRegistrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.geysermc.geyser.api.network.NetworkApiException
org.geysermc.geyser.api.network.NetworkRegistrationException
- All Implemented Interfaces:
Serializable
Thrown when a
NetworkChannel or message handler cannot be registered
because the extension misused the registration builder.
These failures happen at startup or session-define time, not during message dispatch. They almost always indicate a programming mistake in the extension that owns the channel.
- Since:
- 2.9.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkRegistrationException(@Nullable String source, String message) NetworkRegistrationException(@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
-
NetworkRegistrationException
-
NetworkRegistrationException
-