Package ml.karmaconfigs.api.common.boss
Class BossNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ml.karmaconfigs.api.common.boss.BossNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown when a boss bar is tried to fetch
with an invalid ID
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionBossNotFoundException(int bossId, Set<Integer> ids)Initialize the exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BossNotFoundException
Initialize the exception- Parameters:
bossId- the boss idids- the valid boss bar ids
-
-
Method Details
-
validIds
Get the valid boss bar ids- Returns:
- the valid boss bar ids
-