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

pro.jk.ejoker.commanding.AggregateRootAlreadyExistException Maven / Gradle / Ivy

There is a newer version: 3.0.7.1
Show newest version
package pro.jk.ejoker.commanding;

import pro.jk.ejoker.common.system.enhance.StringUtilx;

public class AggregateRootAlreadyExistException extends RuntimeException {

	private static final long serialVersionUID = -3883348844724461341L;
	
	private final static String exceptionMessageFillTpl = "Aggregate root already exist in command context, cannot be added again. [aggregateRootId: {}, aggregateRootType: {}]";

	public AggregateRootAlreadyExistException(Object id, @SuppressWarnings("rawtypes") Class type) {
		super(StringUtilx.fmt(exceptionMessageFillTpl, id, type.getName()));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy