All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.bloepiloepi.spear.exceptions.UnexpectedTokenException Maven / Gradle / Ivy

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