Class BossNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ml.karmaconfigs.api.common.boss.BossNotFoundException
All Implemented Interfaces:
Serializable

public final class BossNotFoundException extends Exception
This exception is thrown when a boss bar is tried to fetch with an invalid ID
See Also:
Serialized Form
  • Constructor Details

    • BossNotFoundException

      public BossNotFoundException(int bossId, Set<Integer> ids)
      Initialize the exception
      Parameters:
      bossId - the boss id
      ids - the valid boss bar ids
  • Method Details

    • validIds

      public Integer[] validIds()
      Get the valid boss bar ids
      Returns:
      the valid boss bar ids