io.automatiko.engine.codegen.process.ProcessCodegenException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automatiko-engine-codegen Show documentation
Show all versions of automatiko-engine-codegen Show documentation
The Code generation for Automatiko Engine
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);
}
}