Class AlreadyRegisteredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.eldoria.schematicbrush.brush.exceptions.AlreadyRegisteredException
- All Implemented Interfaces:
Serializable
Exception which indicated that something is already registered and can not be registered again.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlreadyRegisteredException(SettingProvider<?> provider) Create a new exception with a message based on the provider nameAlreadyRegisteredException(Nameable nameable, SettingProvider<?> provider) Creates a new exception with a message based on the nameable and provider nameAlreadyRegisteredException(String message) Creates a new exception with a message -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyRegisteredException
Creates a new exception with a message- Parameters:
message- message
-
AlreadyRegisteredException
Create a new exception with a message based on the provider name- Parameters:
provider- provider
-
AlreadyRegisteredException
Creates a new exception with a message based on the nameable and provider name- Parameters:
nameable- nameableprovider- provider
-