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

org.jpmml.model.MisplacedElementException Maven / Gradle / Ivy

There is a newer version: 1.6.6
Show newest version
/*
 * Copyright (c) 2018 Villu Ruusmann
 */
package org.jpmml.model;

import org.dmg.pmml.PMMLObject;

public class MisplacedElementException extends InvalidElementException {

	public MisplacedElementException(PMMLObject object){
		super(formatMessage(XPathUtil.formatElement(object.getClass())), object);
	}

	static
	public String formatMessage(String xPath){
		return "Element " + xPath + " is not permitted in this location";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy