Package de.marcely.bedwars.api.exception
Class ArenaConditionParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
de.marcely.bedwars.api.exception.ArenaConditionParseException
- All Implemented Interfaces:
- Serializable
Thrown when an arena condition could not be parsed.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionArenaConditionParseException(String message) ArenaConditionParseException(String message, int position) 
- 
Method SummaryModifier and TypeMethodDescriptionintGet the char position where the exception occurred.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ArenaConditionParseException
- 
ArenaConditionParseException
 
- 
- 
Method Details- 
getPositionpublic 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
 
 
-