Class ArenaConditionParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
de.marcely.bedwars.api.exception.ArenaConditionParseException
All Implemented Interfaces:
Serializable

public class ArenaConditionParseException extends IOException
Thrown when an arena condition could not be parsed.
See Also:
  • Constructor Details

    • ArenaConditionParseException

      public ArenaConditionParseException(String message)
    • ArenaConditionParseException

      public ArenaConditionParseException(String message, int position)
  • Method Details

    • getPosition

      public int getPosition()
      Get the char position where the exception occurred.

      It may return -1 if the position is unknown.

      Returns:
      The char position of the original string with the error. May be -1