io.github.bloepiloepi.spear.exceptions.UnexpectedTokenException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Spear Show documentation
Show all versions of Spear Show documentation
Spear is a data saving format, written in Java.
The newest version!
package io.github.bloepiloepi.spear.exceptions;
import io.github.bloepiloepi.spear.parser.SPToken;
/**
* Thrown when the parser encounters an unexpected token
*/
public class UnexpectedTokenException extends RuntimeException {
public UnexpectedTokenException(SPToken token) {
super("Unexpected token: " + token.getValue() + "! Is the file manually edited?");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy