Class RegistrationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.robie.machineengine.api.registry.RegistrationException
All Implemented Interfaces:
Serializable

public final class RegistrationException extends RuntimeException
Thrown when a registration is impossible (duplicate key, frozen registry, wrong registry kind). MachineEngine reports diagnostic() and disables the registering addon's content.
See Also:
  • Constructor Details

    • RegistrationException

      public RegistrationException(@NotNull @NotNull Diagnostic diagnostic)
  • Method Details

    • diagnostic

      @NotNull public @NotNull Diagnostic diagnostic()