Package de.Keyle.MyPet.api.exceptions
Class InvalidSkilltreeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.Keyle.MyPet.api.exceptions.InvalidSkilltreeException
- All Implemented Interfaces:
Serializable
Thrown when a
.st.json skilltree file fails to parse — malformed
JSON, missing required fields, or invalid skill/level references.
The message includes the failing section name and the originating line
number to aid admin-side debugging without requiring a full stack trace.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSkilltreeException(String part, Exception e) Wraps the underlying failure with the name of the part that could not be read. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSkilltreeException
Wraps the underlying failure with the name of the part that could not be read.- Parameters:
part- the skilltree section or filename that failede- the underlying parse/validation error
-