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

org.gridkit.jvmtool.spi.parsers.ParserErrorPolicy Maven / Gradle / Ivy

package org.gridkit.jvmtool.spi.parsers;

public interface ParserErrorPolicy {

	enum Action {
		ABORT,
		CONTINUE
	}
	
	public Action onParserError(Exception e, String niceMessage);
	
	/**
	 * Mixin interface for setting up {@link ParserErrorPolicy}
	 * 
	 * @author Alexey Ragozin ([email protected])
	 */
	public interface Aware {
		
		void setParserErrorPolicy(ParserErrorPolicy policy);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy