Class UnknownPluginException

All Implemented Interfaces:
Serializable

public class UnknownPluginException extends InvalidUserDataException
A UnknownPluginException is thrown when an unknown plugin id is provided.
See Also:
  • Constructor Details

    • UnknownPluginException

      public UnknownPluginException(String message)
    • UnknownPluginException

      @Incubating public UnknownPluginException(String message, @Nullable String pluginId)
      Creates an exception with the given message, carrying the id of the plugin that could not be found.
      Parameters:
      message - the exception message
      pluginId - the id of the plugin that could not be found, or null if it is not known
      Since:
      9.7.0
  • Method Details

    • getPluginId

      @Incubating public @Nullable String getPluginId()
      Returns the id of the plugin that could not be found, if it is known.
      Returns:
      the missing plugin id, or null if it is not known
      Since:
      9.7.0