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
ConstructorDescriptionIdConflictException
(SlimefunItem item1, SlimefunItem item2) Constructs a newIdConflictException
with 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 newIdConflictException
with the given items.- Parameters:
item1
- The firstSlimefunItem
with this iditem2
- The secondSlimefunItem
with this id
-