public class IdConflictException
extends java.lang.RuntimeException
IdConflictException
is thrown whenever two Addons try to add
a SlimefunItem
with the same id.Constructor and Description |
---|
IdConflictException(SlimefunItem item1,
SlimefunItem item2)
Constructs a new
IdConflictException with the given items. |
public IdConflictException(SlimefunItem item1, SlimefunItem item2)
IdConflictException
with the given items.item1
- The first SlimefunItem
with this iditem2
- The second SlimefunItem
with this id