Package valorless.rarespawns.exceptions
package valorless.rarespawns.exceptions
Domain-specific exceptions and validation errors used by RareSpawns.
These exceptions surface configuration issues, invalid input, and guard conditions in a clear, admin-friendly way. They centralize error reporting for loaders, parsers, and runtime checks.
-
Exception ClassesClassDescriptionThrown when a boss bar color parsed from configuration is invalid or unsupported.Thrown when a boss bar style parsed from configuration is invalid or unsupported.Thrown when a damage cause value from configuration is invalid or unsupported.Thrown when an enchantment identifier from configuration cannot be resolved.Thrown when an entity type string from configuration cannot be parsed.Thrown when a material identifier from configuration cannot be resolved.Thrown when a spell value from configuration cannot be parsed.Thrown when a configuration string fails validation against expected format.