Class AlreadyRegisteredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.eldoria.schematicbrush.brush.exceptions.AlreadyRegisteredException
All Implemented Interfaces:
Serializable

public class AlreadyRegisteredException extends RuntimeException
Exception which indicated that something is already registered and can not be registered again.
See Also:
  • Constructor Details

    • AlreadyRegisteredException

      public AlreadyRegisteredException(String message)
      Creates a new exception with a message
      Parameters:
      message - message
    • AlreadyRegisteredException

      public AlreadyRegisteredException(SettingProvider<?> provider)
      Create a new exception with a message based on the provider name
      Parameters:
      provider - provider
    • AlreadyRegisteredException

      public AlreadyRegisteredException(Nameable nameable, SettingProvider<?> provider)
      Creates a new exception with a message based on the nameable and provider name
      Parameters:
      nameable - nameable
      provider - provider