Class EntrypointException

All Implemented Interfaces:
Serializable

public class EntrypointException
extends RuntimeException
Represents an exception that arises when obtaining entrypoints.
See Also:
FabricLoader.getEntrypointContainers(String, Class), Serialized Form
  • Constructor Details

    • EntrypointException

      @Deprecated public EntrypointException​(String key, Throwable cause)
      Deprecated.
      For internal use only, to be removed!
    • EntrypointException

      @Deprecated public EntrypointException​(String key, String causingMod, Throwable cause)
      Deprecated.
      For internal use only, use regular exceptions!
    • EntrypointException

      @Deprecated public EntrypointException​(String s)
      Deprecated.
      For internal use only, to be removed!
    • EntrypointException

      @Deprecated public EntrypointException​(Throwable t)
      Deprecated.
      For internal use only, to be removed!
  • Method Details

    • getKey

      public String getKey()
      Returns the key of entrypoint in which the exception arose.
      Returns:
      the key