Class InvalidSkilltreeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.Keyle.MyPet.api.exceptions.InvalidSkilltreeException
All Implemented Interfaces:
Serializable

public class InvalidSkilltreeException extends RuntimeException
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 Details

    • InvalidSkilltreeException

      public InvalidSkilltreeException(String part, Exception e)
      Wraps the underlying failure with the name of the part that could not be read.
      Parameters:
      part - the skilltree section or filename that failed
      e - the underlying parse/validation error