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

io.automatiko.engine.codegen.process.ProcessCodegenException Maven / Gradle / Ivy

The newest version!

package io.automatiko.engine.codegen.process;

import java.text.MessageFormat;

public class ProcessCodegenException extends RuntimeException {

	public ProcessCodegenException(String path, Throwable cause) {
		super(MessageFormat.format("Error while elaborating file \"{0}\": {1}", path, cause.getMessage()), cause);
	}

	public ProcessCodegenException(String id, String packageName, Throwable cause) {
		super(MessageFormat.format("Error while elaborating process id = \"{0}\", packageName = \"{1}\": {2}", id,
				packageName, cause.getMessage()), cause);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy