Class IdConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.thebusybiscuit.slimefun4.api.exceptions.IdConflictException
- All Implemented Interfaces:
Serializable
An
IdConflictException is thrown whenever two Addons try to add
a SlimefunItem with the same id.- Author:
- TheBusyBiscuit
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdConflictException(SlimefunItem item1, SlimefunItem item2) Constructs a newIdConflictExceptionwith the given items. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdConflictException
Constructs a newIdConflictExceptionwith the given items.- Parameters:
item1- The firstSlimefunItemwith this iditem2- The secondSlimefunItemwith this id
-