Class SpellStack.MalformedSpellStackException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.minecraftschurlimods.arsmagicalegacy.api.spell.SpellStack.MalformedSpellStackException
All Implemented Interfaces:
Serializable
Enclosing class:
SpellStack

public static class SpellStack.MalformedSpellStackException extends RuntimeException
Exception thrown when the spell stack is malformed.
See Also:
  • Constructor Details

    • MalformedSpellStackException

      public MalformedSpellStackException(String message, List<ISpellPart> parts)
  • Method Details

    • getParts

      public List<ISpellPart> getParts()
      Returns:
      A list of spell parts that caused the exception.